feat: initial commit
This commit is contained in:
15
Dockerfile
Normal file
15
Dockerfile
Normal file
@ -0,0 +1,15 @@
|
||||
FROM golang:1.24 AS build
|
||||
|
||||
COPY . /src
|
||||
|
||||
WORKDIR /src
|
||||
|
||||
RUN CGO_ENABLED=0 go build -o ./bin/jwk2pem .
|
||||
|
||||
FROM busybox:latest AS runtime
|
||||
|
||||
COPY --from=build /src/bin/jwk2pem /usr/bin/jwk2pem
|
||||
|
||||
LABEL org.opencontainers.image.source=https://forge.cadoles.com/wpetit/jwk2pem
|
||||
|
||||
CMD ["/usr/bin/jwk2pem"]
|
Reference in New Issue
Block a user