Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Commit

Permalink
tinkerbell: Move to fedora based image
Browse files Browse the repository at this point in the history
`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
surajssd committed Jun 9, 2021
1 parent bbb162a commit 05e2196
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 11 deletions.
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 . .
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

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
#!/usr/bin/env bash

set -eux

Expand Down
12 changes: 6 additions & 6 deletions pkg/assets/generated_assets.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 05e2196

Please sign in to comment.