This repository has been archived by the owner on Jun 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tinkerbell: Move to fedora based image
`cfssl` package for alpine has been removed. Hence the build fails. This commit moves to a fedora based image. Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
- Loading branch information
Showing
4 changed files
with
12 additions
and
11 deletions.
There are no files selected for viewing
7 changes: 4 additions & 3 deletions
7
assets/terraform-modules/tinkerbell-sandbox/assets/deploy/tls/Dockerfile
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 |
---|---|---|
@@ -1,7 +1,8 @@ | ||
FROM alpine:3.11 | ||
FROM registry.fedoraproject.org/fedora:34 | ||
ENTRYPOINT [ "/entrypoint.sh" ] | ||
|
||
RUN apk add --no-cache --update --upgrade ca-certificates postgresql-client | ||
RUN apk add --no-cache --update --upgrade --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing cfssl | ||
RUN dnf install --setopt=tsflags=nodocs -y \ | ||
postgresql \ | ||
golang-github-cloudflare-cfssl | ||
|
||
COPY . . |
2 changes: 1 addition & 1 deletion
2
assets/terraform-modules/tinkerbell-sandbox/assets/deploy/tls/entrypoint.sh
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/env sh | ||
#!/usr/bin/env bash | ||
|
||
# set -o errexit -o nounset -o pipefail | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
assets/terraform-modules/tinkerbell-sandbox/assets/deploy/tls/gencerts.sh
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/env sh | ||
#!/usr/bin/env bash | ||
|
||
set -eux | ||
|
||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.