-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: docker images * chore: add alpine packages, fix linker issues * fix: exclude docker build from archive * fix: use the correct container registry * fix: github container registry login * chore: add docker and goreleaser to README * chore: add links to README
- Loading branch information
Showing
4 changed files
with
87 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
FROM alpine:3 | ||
|
||
COPY casket /usr/bin/ | ||
|
||
RUN apk --no-cache add tzdata ca-certificates && update-ca-certificates | ||
|
||
# Create empty directories for: | ||
# /config: where the casketfile other configuration files will be stored | ||
# /data: where the persistent data will be stored (certificates, etc) | ||
# /www: the default web root | ||
# NOTE: it is your responsibility (the user) to create bind mounts or volumes. | ||
RUN mkdir /config \ | ||
&& mkdir /data \ | ||
&& mkdir /www | ||
|
||
# Set the casket path to store certificates in /data | ||
ENV CASKETPATH=/data | ||
|
||
# Set working directory to /config so that casket will load /config/Casketfile | ||
WORKDIR /config | ||
|
||
ENTRYPOINT ["casket", "-agree", "-root", "/www"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters