Use a secret file from host instead
This commit is contained in:
parent
42c4fe1ed2
commit
1d741d924a
1 changed files with 2 additions and 2 deletions
|
@ -4,12 +4,12 @@ LABEL author="Tara Piccari" maintainer="tarapiccari@gmail.com"
|
||||||
|
|
||||||
ARG JENKINS_SECRET=notset
|
ARG JENKINS_SECRET=notset
|
||||||
|
|
||||||
|
COPY ${JENKINS_SECRET} /agent.secret
|
||||||
|
|
||||||
ENV DOCKER 1
|
ENV DOCKER 1
|
||||||
USER 0
|
USER 0
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
|
|
||||||
RUN echo ${JENKINS_SECRET} > /agent.secret
|
|
||||||
|
|
||||||
RUN apt update; apt-get upgrade -y
|
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
|
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue