Dockerfile: add toolchain bin directory to the default PATH

This allows the Retro68 compilers to be executed regardless of the current
working directory which is set to /root by default.
This commit is contained in:
Mark Cave-Ayland 2022-10-17 22:26:58 +01:00 committed by Wolfgang Thaller
parent 86a16a78cf
commit d8e2780f8d
1 changed files with 4 additions and 0 deletions

View File

@ -9,6 +9,10 @@ RUN apt-get update && \
libboost-all-dev bison texinfo \
ruby flex curl g++ git
# Add toolchain to default PATH
ENV PATH=/Retro68-build/toolchain/bin:$PATH
WORKDIR /root
# Build image
FROM base AS build