Adaptación del Docker publicado en para su uso en Estibadores
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
871 B

FROM as builder
RUN apt-get update && \
apt-get install -y --no-install-recommends curl gnupg2 ca-certificates
RUN echo "deb buster-backports main" >> /etc/apt/sources.list && \
echo "deb stable main" > /etc/apt/sources.list.d/yarn.list
RUN curl -sL | apt-key add -
# Install Yarn
RUN apt-get update && \
apt-get install -y --no-install-recommends yarn
# Install Node Latest
RUN curl -sL | bash -
RUN apt-get install -y nodejs
RUN yarn global remove gancio || true
RUN yarn cache clean
RUN yarn global add --latest --production --silent 2> /dev/null
WORKDIR /opt/gancio
RUN useradd -u $GANCIO_UID -g nogroup gancio