Skip to content

Commit

Permalink
Add missing Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
maraino committed Jan 24, 2023
1 parent 9c5331e commit 8ec4b07
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
FROM golang:alpine AS builder

WORKDIR /src
COPY . .

RUN apk add --no-cache git make
RUN apk add --no-cache gcc musl-dev pkgconf pcsc-lite-dev
RUN make V=1 build

FROM smallstep/step-cli:latest

COPY --from=builder /src/bin/step-kms-plugin /usr/local/bin/step-kms-plugin

USER root
RUN apk add --no-cache pcsc-lite pcsc-lite-libs
USER step

CMD ["/bin/bash"]

0 comments on commit 8ec4b07

Please sign in to comment.