Browse Source

Change: COPY gancio builded using path and not tgz

master
Siroco 3 months ago
parent
commit
67624df246
Signed by: siroco GPG Key ID: 1324098302A514B0
  1. 12
      Dockerfile
  2. BIN
      installer/templates/._base.html.swp

12
Dockerfile

@ -12,8 +12,7 @@ ARG GANCIO_VERSION=master
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list
COPY pubkey.gpg .
RUN cat pubkey.gpg | apt-key add -
COPY pubkey.gpg /etc/apt/trusted.gpg.d/yarn.gpg
RUN apt-get update && \
apt-get install -y --no-install-recommends yarn
@ -30,6 +29,9 @@ RUN yarn install && \
yarn build && \
yarn pack --filename=gancio.tgz
RUN tar xzf gancio.tgz && \
mv package /tmp/gancio
RUN apt-get install -y --no-install-recommends golang
WORKDIR /tmp/installer
@ -45,11 +47,7 @@ ENV TZ=Europe/Madrid
RUN apt-get update && \
apt-get install -y --no-install-recommends npm
COPY --from=builder /gancio/gancio.tgz ./
RUN tar zxf gancio.tgz && \
mv package gancio && \
rm gancio.tgz
COPY --from=builder /tmp/gancio ./gancio
WORKDIR /gancio

BIN
installer/templates/._base.html.swp

Binary file not shown.
Loading…
Cancel
Save