fix: sharkey dockerfile commit
This commit is contained in:
parent
857aa2efd8
commit
4688090c1f
1 changed files with 4 additions and 1 deletions
|
@ -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} && \
|
||||
|
@ -22,6 +23,8 @@ RUN git clone https://activitypub.software/TransFem-org/Sharkey.git /sharkey --d
|
|||
|
||||
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 \
|
||||
pnpm i --frozen-lockfile --aggregate-output
|
||||
|
|
Loading…
Reference in a new issue