Skip to content

Commit

Permalink
Merge pull request #1 from Itxaka/verify_cos_signatures
Browse files Browse the repository at this point in the history
verify signatures coming from cos packages
  • Loading branch information
mudler authored Nov 5, 2021
2 parents 4780391 + 77f0159 commit 7eec5d8
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ ARG K3S_VERSION=v1.21.4+k3s1
ARG C3OS_VERSION=-c3OS11
ARG ARCH=amd64
ENV ARCH=${ARCH}
# Enable cosign keyless verify
ENV COSIGN_EXPERIMENTAL=1
# Repo containing signatures
ENV COSIGN_REPOSITORY=raccos/releases-green
# Skip this repo artifacts verify as they are not signed
ENV COSIGN_SKIP=".*quay.io/mocaccino/extra.*"

RUN zypper in -y \
bash-completion \
conntrack-tools \
Expand Down Expand Up @@ -69,15 +76,18 @@ COPY conf/luet.yaml /etc/luet/luet.yaml

# Copy luet from the official images
COPY --from=luet /usr/bin/luet /usr/bin/luet
RUN luet install -y \

# Install cosign packages
RUN luet install -y meta/cos-verify

RUN luet install --plugin luet-cosign -y \
meta/cos-core \
utils/edgevpn \
systemd-service/edgevpn \
utils/k9s \
utils/nerdctl \
utils/croc \
utils/tailscale

ENV INSTALL_K3S_VERSION=${K3S_VERSION}
ENV INSTALL_K3S_BIN_DIR="/usr/bin"
RUN curl -sfL https://get.k3s.io > installer.sh
Expand Down

0 comments on commit 7eec5d8

Please sign in to comment.