Skip to content
Snippets Groups Projects
Commit 1492f9b2 authored by Julian's avatar Julian
Browse files

meteor: Use nodejs 14.18.3 and enable corepack (for yarn)

parent abbb4ae5
Branches main
No related tags found
No related merge requests found
FROM debian:bullseye
ENV NODEJS_VERSION=14.18.3
ENV METEOR_VERSION=2.5.6
ENV METEOR_ALLOW_SUPERUSER=true
ENV PATH=$PATH:/root/.meteor
......@@ -9,16 +10,11 @@ RUN apt-get -qq update && \
apt-get -qq install lsb-release curl wget ca-certificates debhelper apt-utils libarchive-tools gnupg bzip2 g++ build-essential git python3 && \
lsb_release -a && uname -a
#COPY nodesource.gpg.key /etc/apt/trusted.gpg.d/nodesource-repo.asc
#RUN echo 'deb https://deb.nodesource.com/node_14.x bullseye main' > /etc/apt/sources.list.d/nodesource-repo.list
#RUN apt-get -qq update && \
# apt-get -qq install nodejs=14.18.3-deb-1nodesource1 && \
# apt-get -qq clean
RUN cd && \
wget -q "https://deb.nodesource.com/node_14.x/pool/main/n/nodejs/nodejs_14.18.3-deb-1nodesource1_amd64.deb" -O nodejs.deb && \
apt-get -qq install ./nodejs.deb
wget -q "https://deb.nodesource.com/node_14.x/pool/main/n/nodejs/nodejs_${NODEJS_VERSION}-deb-1nodesource1_amd64.deb" -O nodejs.deb && \
apt-get -qq install ./nodejs.deb && \
npm install -g corepack && \
corepack enable
RUN cd && \
wget -q "https://static-meteor.netdna-ssl.com/packages-bootstrap/${METEOR_VERSION}/meteor-bootstrap-os.linux.x86_64.tar.gz" -O meteor-bootstrap.tar.gz && \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment