mirror of
https://github.com/anchore/syft.git
synced 2026-10-30 14:02:26 +01:00
Revert "Add docker image and refactor release pipeline (#310)"
This reverts commit 6195002ae5.
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
This commit is contained in:
-17
@@ -1,17 +0,0 @@
|
||||
FROM alpine:latest AS build
|
||||
|
||||
RUN apk --no-cache add ca-certificates
|
||||
RUN mkdir -p /tmp
|
||||
|
||||
# —————————————————————————————————————————————————————————————————————
|
||||
FROM scratch
|
||||
ARG DIST_DIR=./dist
|
||||
|
||||
# Needed for version check HTTPS request
|
||||
COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
|
||||
# Needed for image content cache
|
||||
COPY --from=build /tmp /
|
||||
|
||||
COPY ${DIST_DIR}/syft_linux_amd64/syft /
|
||||
|
||||
ENTRYPOINT ["/syft"]
|
||||
Reference in New Issue
Block a user