Update: NodeJS 16 && Yarn

master
Siroco 3 months ago
parent d2036f8487
commit 6a32e4e7ec
Signed by: siroco
GPG Key ID: 1324098302A514B0
  1. 17
      Dockerfile

@ -16,20 +16,17 @@ WORKDIR /
ARG GANCIO_VERSION=master
ARG GITLAB_PROJECT=48668
# Install Yarn
#RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list
#COPY pubkey.gpg /usr/local/share/keyrings/yarn.gpg
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list
#RUN gpg --no-default-keyring --keyring ./yarn_keyring.gpg --import /usr/local/share/keyrings/yarn.gpg && \
# gpg --no-default-keyring --keyring ./yarn_keyring.gpg --export > ./yarn-archive-keyring.gpg && \
# mv ./yarn-archive-keyring.gpg /etc/apt/trusted.gpg.d/
COPY pubkey.gpg /usr/local/share/keyrings/yarn.gpg
#RUN apt-get update && \
# apt-get install -y --no-install-recommends yarn
RUN gpg --no-default-keyring --keyring ./yarn_keyring.gpg --import /usr/local/share/keyrings/yarn.gpg && \
gpg --no-default-keyring --keyring ./yarn_keyring.gpg --export > ./yarn-archive-keyring.gpg && \
mv ./yarn-archive-keyring.gpg /etc/apt/trusted.gpg.d/
RUN npm install -g yarn
RUN apt-get update && \
apt-get install -y --no-install-recommends yarn
# Install latest signed Gancio
RUN COMMIT=`git ls-remote --tags https://framagit.org/les/gancio.git | tail -n1 | cut -f1` && \

Loading…
Cancel
Save