Skip to content

Commit

Permalink
fix: Specify entrypoint to be the agent
Browse files Browse the repository at this point in the history
  • Loading branch information
AiyionPrime committed Jun 29, 2024
1 parent 33b81c5 commit 2b9a4c6
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
FROM jenkins/agent:latest-bookworm-jdk17
USER root
### Start gluon

ARG TARGETOS
ARG TARGETARCH
ARG TARGETOS=linux
ARG TARGETARCH=amd64

ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends \
Expand Down Expand Up @@ -41,3 +42,7 @@ USER gluon

VOLUME /gluon
WORKDIR /gluon

### End gluon
USER jenkins
ENTRYPOINT ["/usr/local/bin/jenkins-agent"]

0 comments on commit 2b9a4c6

Please sign in to comment.