File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -32,17 +32,18 @@ RUN go build -o /assets/in ./cmd/in \
3232FROM alpine:edge AS resource
3333RUN apk add --no-cache bash tzdata ca-certificates
3434COPY --from=builder assets/ /opt/resource/
35- RUN tar xzvf /opt/resource/fly*.tgz \
35+ RUN cd /opt/resource/ \
36+ && tar xzvf /opt/resource/fly*.tgz \
3637 && rm /opt/resource/fly*.tgz
3738RUN chmod +x /opt/resource/*
38-
3939# test image
4040# ============================================================================
4141FROM resource AS tests
4242COPY --from=builder /tests /go-tests
4343RUN set -e; for test in /go-tests/*.test; do \
4444 $test; \
4545 done
46+ RUN /opt/resource/fly --version
4647
4748# export runtime image
4849# ============================================================================
You can’t perform that action at this time.
0 commit comments