Browse Source

update dockerfile with debian repos

pure-debian
Siroco 1 year ago
parent
commit
e2fe9c71b8
Signed by: siroco
GPG Key ID: 1324098302A514B0
  1. 15
      Dockerfile

15
Dockerfile

@ -1,21 +1,14 @@
FROM registry.sindominio.net/debian as builder
RUN apt-get update && \
apt-get install -y --no-install-recommends curl gnupg2 ca-certificates
apt-get install -y --no-install-recommends curl gnupg2 ca-certificates
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 http://deb.debian.org/debian buster-backports main" >> /etc/apt/sources.list
RUN curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
#RUN curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor > /usr/share/keyrings/yarn-archive-keyring.gpg
RUN apt-get install -y nodejs npm
# Install Yarn
RUN apt-get update && \
apt-get install -y --no-install-recommends yarn
RUN npm install -g yarn
# Install Node Latest
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash -
RUN apt-get install -y nodejs
WORKDIR /
RUN yarn global add gancio

Loading…
Cancel
Save