mirror of
https://github.com/ublue-os/forge.git
synced 2025-04-19 04:53:43 +03:00
13 lines
254 B
Docker
13 lines
254 B
Docker
# Source Image
|
|
FROM docker.io/library/golang:1.20
|
|
|
|
# Copy script
|
|
WORKDIR /certs
|
|
COPY certificates.sh .
|
|
RUN chmod +x ./certificates.sh
|
|
|
|
# Install minica
|
|
RUN go install github.com/jsha/minica@latest
|
|
|
|
# Container start command
|
|
CMD ["/certs/certificates.sh"] |