mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-01-23 02:35:34 +00:00
chore: fixed permissions
This commit is contained in:
parent
92819fbb49
commit
81d3c99882
1 changed files with 3 additions and 6 deletions
|
|
@ -19,9 +19,8 @@ RUN gnpm run build:ui
|
||||||
|
|
||||||
FROM alpine:3.22.2 AS build
|
FROM alpine:3.22.2 AS build
|
||||||
RUN apk add --no-cache wget tar
|
RUN apk add --no-cache wget tar
|
||||||
RUN wget https://github.com/SamTV12345/gnpm/releases/download/v0.1.0/gnpm_0.1.0_linux_amd64.tar.gz
|
RUN wget https://github.com/SamTV12345/gnpm/releases/download/v0.1.0/gnpm_0.1.0_linux_amd64.tar.gz && tar -xvzf gnpm_0.1.0_linux_amd64.tar.gz && mv gnpm /usr/local/bin
|
||||||
RUN tar -xvzf gnpm_0.1.0_linux_amd64.tar.gz
|
|
||||||
RUN mv gnpm /usr/local/bin/
|
|
||||||
LABEL maintainer="Etherpad team, https://github.com/ether/etherpad-lite"
|
LABEL maintainer="Etherpad team, https://github.com/ether/etherpad-lite"
|
||||||
|
|
||||||
# Set these arguments when building the image from behind a proxy
|
# Set these arguments when building the image from behind a proxy
|
||||||
|
|
@ -131,11 +130,9 @@ COPY --chown=etherpad:etherpad ./pnpm-workspace.yaml ./package.json ./
|
||||||
FROM build AS build_git
|
FROM build AS build_git
|
||||||
ONBUILD COPY --chown=etherpad:etherpad ./.git/HEA[D] ./.git/HEAD
|
ONBUILD COPY --chown=etherpad:etherpad ./.git/HEA[D] ./.git/HEAD
|
||||||
ONBUILD COPY --chown=etherpad:etherpad ./.git/ref[s] ./.git/refs
|
ONBUILD COPY --chown=etherpad:etherpad ./.git/ref[s] ./.git/refs
|
||||||
RUN wget https://github.com/SamTV12345/gnpm/releases/download/v0.1.0/gnpm_0.1.0_linux_amd64.tar.gz && tar -xvzf gnpm_0.1.0_linux_amd64.tar.gz && mv gnpm /usr/local/bin
|
COPY --from="adminbuild" /root/.local/share ~/.local/share
|
||||||
|
|
||||||
|
|
||||||
FROM build AS build_copy
|
FROM build AS build_copy
|
||||||
RUN wget https://github.com/SamTV12345/gnpm/releases/download/v0.1.0/gnpm_0.1.0_linux_amd64.tar.gz && tar -xvzf gnpm_0.1.0_linux_amd64.tar.gz && mv gnpm /usr/local/bin
|
|
||||||
COPY --from="adminbuild" /root/.local/share ~/.local/share
|
COPY --from="adminbuild" /root/.local/share ~/.local/share
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue