From 4688090c1fe5313d00ca516b5763f76623cf7fce Mon Sep 17 00:00:00 2001 From: teidesu Date: Sat, 16 Nov 2024 00:54:29 +0300 Subject: [PATCH] fix: sharkey dockerfile commit --- hosts/koi/containers/sharkey/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hosts/koi/containers/sharkey/Dockerfile b/hosts/koi/containers/sharkey/Dockerfile index 1192fb4..772ac4c 100644 --- a/hosts/koi/containers/sharkey/Dockerfile +++ b/hosts/koi/containers/sharkey/Dockerfile @@ -1,9 +1,9 @@ # based on https://activitypub.software/TransFem-org/Sharkey/-/blob/develop/Dockerfile ARG NODE_VERSION=20.12.2-alpine3.19 -ARG COMMIT=c344705d6708fdc725d6122d2b321cb2d01dad4b FROM node:${NODE_VERSION} as build + RUN apk add git linux-headers build-base patch ENV PYTHONUNBUFFERED=1 @@ -13,6 +13,7 @@ RUN apk add py3-pip py3-setuptools RUN corepack enable # begin fetch +ARG COMMIT=c344705d6708fdc725d6122d2b321cb2d01dad4b RUN git clone https://activitypub.software/TransFem-org/Sharkey.git /sharkey --depth=1 && \ cd /sharkey && \ git fetch --depth=1 origin ${COMMIT} && \ @@ -21,6 +22,8 @@ RUN git clone https://activitypub.software/TransFem-org/Sharkey.git /sharkey --d # end fetch WORKDIR /sharkey + +RUN echo a 1 && git rev-parse HEAD RUN pnpm config set fetch-retries 5 RUN --mount=type=cache,target=/root/.local/share/pnpm/store,sharing=locked \