Skip to content

Commit

Permalink
🐛 Fix docs build (#261)
Browse files Browse the repository at this point in the history
  • Loading branch information
tosone authored Dec 26, 2023
1 parent ebd1d31 commit ed54a1c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions build/Dockerfile.builder
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ ARG COSIGN_VERSION=v2.2.2
ARG TARGETOS TARGETARCH

RUN set -eux && \
sed -i "s/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g" /etc/apk/repositories && \
# sed -i "s/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g" /etc/apk/repositories && \
apk add --no-cache wget && \
wget -O /tmp/cosign https://github.com/sigstore/cosign/releases/download/"${COSIGN_VERSION}"/cosign-"${TARGETOS}"-"${TARGETARCH}" && \
chmod +x /tmp/cosign

FROM --platform=$BUILDPLATFORM golang:${GOLANG_VERSION} as builder

RUN set -eux && \
sed -i "s/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g" /etc/apk/repositories && \
# sed -i "s/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g" /etc/apk/repositories && \
apk add --no-cache make bash ncurses build-base git openssl

COPY . /go/src/github.com/go-sigma/sigma
Expand All @@ -30,7 +30,7 @@ FROM moby/buildkit:${BUILDKIT_VERSION}

USER root
RUN set -eux && \
sed -i "s/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g" /etc/apk/repositories && \
# sed -i "s/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g" /etc/apk/repositories && \
apk add --no-cache git-lfs && \
mkdir -p /code/ && \
chown -R 1000:1000 /opt/ && \
Expand Down
2 changes: 1 addition & 1 deletion docs/blog/2023-12-26-introduction.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
slug: Sigma is coming! Harbor is outdating?
slug: introduction
title: Sigma is coming! Harbor is outdating?
authors: [tosone]
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
slug: Sigma is coming! Harbor is outdating?
slug: introduction
title: Sigma is coming! Harbor is outdating?
authors: [tosone]
---
Expand Down

0 comments on commit ed54a1c

Please sign in to comment.