mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-01-09 08:21:17 +01:00
27 lines
590 B
Plaintext
27 lines
590 B
Plaintext
|
WORKDIR /usr/src
|
||
|
|
||
|
# Image build scripts
|
||
|
COPY \
|
||
|
imagefiles/install-gosu-binary.sh \
|
||
|
imagefiles/install-gosu-binary-wrapper.sh \
|
||
|
/buildscripts/
|
||
|
|
||
|
RUN \
|
||
|
apt-get update --yes && \
|
||
|
apt-get install --no-install-recommends --yes \
|
||
|
curl \
|
||
|
dirmngr \
|
||
|
gpg \
|
||
|
&& \
|
||
|
apt-get clean --yes && \
|
||
|
/buildscripts/install-gosu-binary.sh && \
|
||
|
/buildscripts/install-gosu-binary-wrapper.sh && \
|
||
|
rm -rf /buildscripts
|
||
|
|
||
|
RUN echo "root:root" | chpasswd
|
||
|
WORKDIR /work
|
||
|
ENTRYPOINT ["/dockcross/entrypoint.sh"]
|
||
|
|
||
|
# Runtime scripts
|
||
|
COPY imagefiles/entrypoint.sh imagefiles/dockcross /dockcross/
|