Skip to content

Commit

Permalink
Merge pull request #1 from palmerabollo/patch-1
Browse files Browse the repository at this point in the history
fix: install ca-certificates
  • Loading branch information
Issif authored Oct 9, 2018
2 parents ebd433e + ea7897b commit cd09dc3
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
# build stage
FROM golang:alpine AS build-env
FROM golang:alpine3.8 AS build-stage
RUN mkdir /src
WORKDIR /src
ADD . .
RUN go build -o falcosidekick

# final stage
FROM alpine
FROM alpine:3.8 AS final-stage
RUN apk add --no-cache ca-certificates
RUN mkdir /app
WORKDIR /app
COPY --from=build-env /src/falcosidekick .
ENTRYPOINT ["./falcosidekick"]
ENTRYPOINT ["./falcosidekick"]

0 comments on commit cd09dc3

Please sign in to comment.