From 1d741d924aa3478622e164b55499f20c8fe9d3be Mon Sep 17 00:00:00 2001 From: zontreck Date: Sun, 7 Jul 2024 04:47:13 -0700 Subject: [PATCH] Use a secret file from host instead --- LinuxGeneralCompiler/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LinuxGeneralCompiler/Dockerfile b/LinuxGeneralCompiler/Dockerfile index 5814930..fc095c2 100644 --- a/LinuxGeneralCompiler/Dockerfile +++ b/LinuxGeneralCompiler/Dockerfile @@ -4,12 +4,12 @@ LABEL author="Tara Piccari" maintainer="tarapiccari@gmail.com" ARG JENKINS_SECRET=notset +COPY ${JENKINS_SECRET} /agent.secret + ENV DOCKER 1 USER 0 WORKDIR / -RUN echo ${JENKINS_SECRET} > /agent.secret - RUN apt update; apt-get upgrade -y RUN apt install -y build-essential cmake ninja-build openjdk-17-jdk nasm git curl wget openjdk-17-jre android-sdk android-sdk-build-tools android-sdk-platform-tools clang pkg-config