Skip to content

Commit e546a18

Browse files
committed
Mark the init script as executable and make the fake agent use the same arg format
1 parent a560271 commit e546a18

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

runner-init/fake-agent.Dockerfile

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
11
FROM busybox:stable-musl as build
22

3-
FROM scratch as temp
4-
53
ARG ARCH=amd64
64

75
COPY ./bin/circleci-fake-agent-${ARCH} /opt/circleci/circleci-agent
8-
COPY --from=build /bin/cp /bin/cp
9-
10-
FROM scratch
11-
12-
COPY --from=temp / /
6+
COPY ./runner-init/init.sh /init.sh
137

14-
ENTRYPOINT ["/bin/cp"]
8+
ENTRYPOINT ["/init.sh"]

runner-init/init.sh

100644100755
File mode changed.

0 commit comments

Comments
 (0)