mirror of
https://github.com/ublue-os/forge.git
synced 2025-07-21 00:55:46 +03:00
feat: create ssh key for automation tasks
includes refactoring for build process
This commit is contained in:
parent
fe6e5d59f3
commit
717998b801
5 changed files with 50 additions and 17 deletions
|
@ -1,10 +1,13 @@
|
|||
# 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
|
||||
|
||||
# Generate wildcard certificate
|
||||
WORKDIR /certs
|
||||
RUN minica --domains "*.ublue.local,ublue.local,localhost" \
|
||||
--ip-addresses 127.0.0.1
|
||||
# Container start command
|
||||
CMD ["/certs/certificates.sh"]
|
Loading…
Add table
Add a link
Reference in a new issue