diff --git a/Dockerfile.meteor b/Dockerfile.meteor index 4d973d084f2c9c004dd002289ad8c5adb1c10634..78dc5efca97501b6b6e60d4946ad64a544fa3092 100644 --- a/Dockerfile.meteor +++ b/Dockerfile.meteor @@ -1,5 +1,6 @@ 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 && \