From d8e2780f8d8cd0ddcf5f89043f93c238c4be5e76 Mon Sep 17 00:00:00 2001 From: Mark Cave-Ayland Date: Mon, 17 Oct 2022 22:26:58 +0100 Subject: [PATCH] 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. --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 21dc725f77..9f885bb5ba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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