Skip to content

Commit

Permalink
fix: Install required packages to run scannercli binary (#57)
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Pacak <pacak.daniel@gmail.com>
  • Loading branch information
danielpacak committed Jun 18, 2020
1 parent 2e4c1a7 commit 11bf4aa
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
FROM alpine:3
FROM alpine:3.9

RUN apk add --no-cache ca-certificates \
&& update-ca-certificates \
&& rm -rf /var/cache/apk/*
RUN echo "@edge http://dl-cdn.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories

RUN apk update \
&& apk upgrade musl \
&& apk add ca-certificates dpkg@edge rpm@edge expat@edge libbz2@edge libarchive@edge db@edge

RUN adduser -u 1000 -D -g '' scanner scanner

Expand Down

0 comments on commit 11bf4aa

Please sign in to comment.