mirror of
https://github.com/autc04/Retro68.git
synced 2025-01-06 14:31:00 +00:00
Dockerfile: add macutils and interfaces-and-libraries.sh to image
These files will be required in order to download and install the Universal Interfaces within the created image.
This commit is contained in:
parent
9dd5dca1fa
commit
4042463991
@ -7,7 +7,7 @@ RUN apt-get update && \
|
|||||||
DEBIAN_FRONTEND=noninteractive apt-get install -y \
|
DEBIAN_FRONTEND=noninteractive apt-get install -y \
|
||||||
cmake libgmp-dev libmpfr-dev libmpc-dev \
|
cmake libgmp-dev libmpfr-dev libmpc-dev \
|
||||||
libboost-all-dev bison texinfo \
|
libboost-all-dev bison texinfo \
|
||||||
ruby flex curl g++ git
|
ruby flex curl g++ git macutils
|
||||||
|
|
||||||
# Add toolchain to default PATH
|
# Add toolchain to default PATH
|
||||||
ENV PATH=/Retro68-build/toolchain/bin:$PATH
|
ENV PATH=/Retro68-build/toolchain/bin:$PATH
|
||||||
@ -19,11 +19,18 @@ FROM base AS build
|
|||||||
ADD . /Retro68
|
ADD . /Retro68
|
||||||
|
|
||||||
RUN mkdir /Retro68-build && \
|
RUN mkdir /Retro68-build && \
|
||||||
|
mkdir /Retro68-build/bin && \
|
||||||
bash -c "cd /Retro68-build && bash /Retro68/build-toolchain.bash"
|
bash -c "cd /Retro68-build && bash /Retro68/build-toolchain.bash"
|
||||||
|
|
||||||
# Release image
|
# Release image
|
||||||
FROM base AS release
|
FROM base AS release
|
||||||
|
|
||||||
|
COPY --from=build \
|
||||||
|
/Retro68/interfaces-and-libraries.sh \
|
||||||
|
/Retro68/prepare-headers.sh \
|
||||||
|
/Retro68/prepare-rincludes.sh \
|
||||||
|
/Retro68-build/bin/
|
||||||
|
|
||||||
COPY --from=build /Retro68-build/toolchain /Retro68-build/toolchain
|
COPY --from=build /Retro68-build/toolchain /Retro68-build/toolchain
|
||||||
|
|
||||||
LABEL org.opencontainers.image.source https://github.com/autc04/Retro68
|
LABEL org.opencontainers.image.source https://github.com/autc04/Retro68
|
||||||
|
Loading…
Reference in New Issue
Block a user