Browse Source

Fix: Dockerfile Golang install

master
Siroco 3 months ago
parent
commit
0ca18cafe9
Signed by: siroco GPG Key ID: 1324098302A514B0
  1. 9
      Dockerfile

9
Dockerfile

@ -30,15 +30,14 @@ RUN yarn install && \
yarn build && \
yarn pack --filename=gancio.tgz
RUN apt-get install -y --no-install-recomends golang
RUN apt-get install -y --no-install-recommends golang
WORKDIR /
WORKDIR /tmp/installer
COPY installer .
WORKDIR /installer
RUN go build -o gancio-installer
# --- #
FROM registry.sindominio.net/debian
@ -58,7 +57,7 @@ WORKDIR /gancio
RUN npm install --production && \
ln -s /gancio/server/cli.js /usr/bin/gancio
COPY --from=builder /installer/gancio-installer /usr/bin/gancio-installer
COPY --from=builder /tmp/installer/gancio-installer /usr/bin/gancio-installer
ADD entrypoint.sh /

Loading…
Cancel
Save