File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,9 +19,8 @@ RUN gnpm run build:ui
1919
2020FROM alpine:3.22.2 AS build
2121RUN 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+
2524LABEL 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 ./
131130FROM build AS build_git
132131ONBUILD COPY --chown=etherpad:etherpad ./.git/HEA[D] ./.git/HEAD
133132ONBUILD 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
137135FROM 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
139136COPY --from="adminbuild" /root/.local/share ~/.local/share
140137
141138
You can’t perform that action at this time.
0 commit comments