File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ set -eu -o pipefail
4
4
5
5
# This variable is used, but shellcheck can't tell.
6
6
# shellcheck disable=SC2034
7
- help_download_taskagent =" Download task agents via the picard image"
7
+ help_download_taskagents =" Download task agents via the picard image"
8
8
download-taskagents () {
9
9
id=$( docker create circleci/picard:agent)
10
10
Original file line number Diff line number Diff line change 1
1
FROM busybox:stable-musl as build
2
2
3
- FROM scratch as temp
4
-
5
3
ARG ARCH=amd64
6
4
7
5
COPY ./bin/circleci-agent-${ARCH} /opt/circleci/circleci-agent
6
+ RUN ln -s /opt/circleci/circleci-agent /opt/circleci/circleci
7
+
8
+ FROM scratch as temp
9
+
10
+ COPY --from=build /opt/circleci/circleci-agent /opt/circleci/circleci-agent
11
+ COPY --from=build /opt/circleci/circleci /opt/circleci/circleci
8
12
COPY --from=build /bin/cp /bin/cp
9
13
10
14
FROM scratch
You can’t perform that action at this time.
0 commit comments