Skip to content

Commit

Permalink
refactor: Use alpine as our base Docker image (#1097)
Browse files Browse the repository at this point in the history
  • Loading branch information
afiune committed Jan 6, 2023
1 parent d7df655 commit d89d748
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
FROM alpine:3.6 as alpine
RUN apk add -U --no-cache ca-certificates

FROM scratch
FROM alpine:latest
LABEL maintainer="[email protected]" \
description="The Lacework CLI helps you manage the Lacework cloud security platform"

RUN apk add -U --no-cache ca-certificates
COPY LICENSE /
COPY --from=alpine /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
ADD bin/lacework-cli-linux-amd64 /usr/local/bin/lacework
ENTRYPOINT ["/usr/local/bin/lacework"]

0 comments on commit d89d748

Please sign in to comment.