Skip to content

Commit e563fb7

Browse files
author
Tim Middleton
committed
refine docker image
1 parent 8f40073 commit e563fb7

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

test/e2e/kind/Dockerfile

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,18 @@
44
# Licensed under the Universal Permissive License v 1.0 as shown at
55
# http://oss.oracle.com/licenses/upl.
66

7+
FROM alpine AS builder
8+
9+
COPY runner /runner
10+
RUN chmod 0555 /runner
11+
712
FROM scratch
813

9-
COPY --chown=1000:1000 runner /files/runner
14+
COPY --chown=1000:1000 --from=builder /runner /files/runner
1015

1116
USER 1000:1000
1217

1318
EXPOSE 8080
19+
1420
ENTRYPOINT ["/files/runner"]
15-
CMD ["-h"]
21+
CMD ["-h"]

0 commit comments

Comments
 (0)