Skip to content

Commit 81d3c99

Browse files
committed
chore: fixed permissions
1 parent 92819fb commit 81d3c99

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

Dockerfile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,8 @@ RUN gnpm run build:ui
1919

2020
FROM alpine:3.22.2 AS build
2121
RUN apk add --no-cache wget tar
22-
RUN wget https://github.com/SamTV12345/gnpm/releases/download/v0.1.0/gnpm_0.1.0_linux_amd64.tar.gz
23-
RUN tar -xvzf gnpm_0.1.0_linux_amd64.tar.gz
24-
RUN mv gnpm /usr/local/bin/
22+
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
23+
2524
LABEL maintainer="Etherpad team, https://github.com/ether/etherpad-lite"
2625

2726
# Set these arguments when building the image from behind a proxy
@@ -131,11 +130,9 @@ COPY --chown=etherpad:etherpad ./pnpm-workspace.yaml ./package.json ./
131130
FROM build AS build_git
132131
ONBUILD COPY --chown=etherpad:etherpad ./.git/HEA[D] ./.git/HEAD
133132
ONBUILD COPY --chown=etherpad:etherpad ./.git/ref[s] ./.git/refs
134-
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
135-
133+
COPY --from="adminbuild" /root/.local/share ~/.local/share
136134

137135
FROM build AS build_copy
138-
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
139136
COPY --from="adminbuild" /root/.local/share ~/.local/share
140137

141138

0 commit comments

Comments
 (0)