Skip to content

Commit

Permalink
fixed issue with running binary in alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
klubi committed Nov 29, 2022
1 parent 32d2fbb commit f8051d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM alpine:latest

# Below line allows for using binary built in ubuntu (ie: GitHub Actions) to run on alpine
RUN apk add --no-cache libc6-compat
RUN adduser scep --uid 1010 --disabled-password --gecos ""

COPY ./scepserver-linux-amd64 /usr/bin/scepserver
Expand Down

0 comments on commit f8051d1

Please sign in to comment.