File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,9 @@ RUN go build -o /assets/in ./cmd/in
12
12
RUN go build -o /assets/out ./cmd/out
13
13
RUN go build -o /assets/check ./cmd/check
14
14
15
+ FROM paketobuildpacks/build-jammy-base as bash-builder
16
+ USER root
17
+ RUN apt-get -y update && apt-get -y install bash-static
15
18
# there are no tests, but all resources must have a 'tests' target, so just
16
19
# no-op
17
20
FROM scratch AS tests
@@ -31,6 +34,8 @@ COPY --from=busybox /bin/find /bin/
31
34
COPY --from=busybox /bin/mkfifo /bin/
32
35
COPY --from=busybox /bin/sed /bin/
33
36
COPY --from=busybox /bin/wc /bin/
37
+ COPY --from=busybox /bin/rm /bin/
38
+ COPY --from=bash-builder /bin/bash-static /bin/bash
34
39
35
40
COPY --from=builder assets/ /opt/resource/
36
41
RUN chmod +x /opt/resource/*
You can’t perform that action at this time.
0 commit comments