Skip to content

Commit 89b55de

Browse files
authored
Merge pull request #8 from circleci/sr/make-it-exec
[ONPREM-1222] Mark the init script as executable and make the fake agent use the same arg format
2 parents a560271 + e546a18 commit 89b55de

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)