Use a secret file from host instead

This commit is contained in:
zontreck 2024-07-07 04:47:13 -07:00
parent 42c4fe1ed2
commit 1d741d924a

View file

@ -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