Skip to content

Commit

Permalink
Merge pull request #547 from 0xPolygonID/develop
Browse files Browse the repository at this point in the history
Release 2.3.1
  • Loading branch information
martinsaporiti authored Nov 17, 2023
2 parents 213de21 + c58524a commit 52efdf7
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions Dockerfile-arm
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@ COPY ./go.sum ./
RUN go install -buildvcs=false -ldflags "-X main.build=${VERSION}" ./cmd/...
RUN go install -buildvcs=false -ldflags "-X main.build=${VERSION}" ./tools/...

#FROM alpine:latest
#RUN apk add --no-cache libstdc++ gcompat libgomp
#RUN apk add --update busybox>1.3.1-r0
#RUN apk add --update openssl>3.1.4-r1
#RUN ln -sfv ld-linux-x86-64.so.2 /lib/libresolv.so.2
#
#RUN apk add doas; \
# adduser -S issuer -D -G wheel; \
# echo 'permit nopass :wheel as root' >> /etc/doas.d/doas.conf;
#RUN chmod g+rx,o+rx /
#
#COPY --from=base ./service/api ./api
#COPY --from=base ./service/api_ui ./api_ui
#COPY --from=base ./service/bin/* ./
#COPY --from=base ./service/pkg/credentials ./pkg/credentials
FROM alpine:latest
RUN apk add --no-cache libstdc++ gcompat libgomp
RUN apk add --update busybox>1.3.1-r0
RUN apk add --update openssl>3.1.4-r1
RUN ln -sfv ld-linux-x86-64.so.2 /lib/libresolv.so.2

RUN apk add doas; \
adduser -S issuer -D -G wheel; \
echo 'permit nopass :wheel as root' >> /etc/doas.d/doas.conf;
RUN chmod g+rx,o+rx /

COPY --from=base ./service/api ./api
COPY --from=base ./service/api_ui ./api_ui
COPY --from=base ./service/bin/* ./
COPY --from=base ./service/pkg/credentials ./pkg/credentials

0 comments on commit 52efdf7

Please sign in to comment.