mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-12-23 00:54:26 +01:00
27 lines
580 B
Plaintext
27 lines
580 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 \
|
|
ca-certificates \
|
|
curl \
|
|
dirmngr \
|
|
gpg \
|
|
&& \
|
|
apt-get clean --yes && \
|
|
/buildscripts/install-gosu-binary.sh && \
|
|
/buildscripts/install-gosu-binary-wrapper.sh && \
|
|
rm -rf /buildscripts
|
|
|
|
# Runtime scripts
|
|
COPY imagefiles/entrypoint.sh imagefiles/dockcross /dockcross/
|
|
|
|
WORKDIR /work
|
|
ENTRYPOINT ["/dockcross/entrypoint.sh"]
|