diff --git a/templates/Dockerfile b/templates/Dockerfile index 12fbb68..11b4e59 100644 --- a/templates/Dockerfile +++ b/templates/Dockerfile @@ -8,10 +8,9 @@ RUN mkdir -p /etc/apt/keyrings && curl -fsSL https://deb.nodesource.com/gpgkey/n RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_${NODE_MAJOR}.x nodistro main" > /etc/apt/sources.list.d/nodesource.list RUN apt-get -y update && apt-get -y install nodejs -# Install yarn -RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - -RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list -RUN apt-get update && apt-get -y install yarn +# Enable corepack +ENV COREPACK_ENABLE_DOWNLOAD_PROMPT=0 +RUN corepack enable # Install ember-cli RUN npm install -g ember-cli@@EMBER_VERSION