Browse Source

fix RUN

separar-build-runtime
Siroco 1 year ago
parent
commit
b69d49e7d2
Signed by: siroco
GPG Key ID: 1324098302A514B0
  1. 7
      Dockerfile

7
Dockerfile

@ -1,13 +1,16 @@
FROM registry.sindominio.net/debian as builder
RUN apt-get update && \
apt-get install -y --no-install-recommends curl
RUN echo "deb http://deb.debian.org/debian buster-backports main" >> /etc/apt/sources.list && \
echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list
RUN curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
# Install Yarn
RUN apt-get update && \
apt-get install -y --no-install-recommends curl yarn
apt-get install -y --no-install-recommends yarn
# Install Node Latest
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash -

Loading…
Cancel
Save