Browse Source

fix(dockerfile): remove useless ubuntu commands

Nicolas Meienberger 2 years ago
parent
commit
e227e2fb2e
1 changed files with 0 additions and 13 deletions
  1. 0 13
      Dockerfile

+ 0 - 13
Dockerfile

@@ -23,19 +23,6 @@ FROM node:18-alpine3.16 as app
 
 WORKDIR /
 
-RUN apt-get update 
-# Install docker
-RUN apt-get install -y ca-certificates curl gnupg lsb-release jq
-RUN mkdir -p /etc/apt/keyrings
-RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
-RUN echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list >/dev/null
-RUN apt-get update
-RUN apt-get install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin
-
-# Install node
-RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash -
-RUN apt-get install -y nodejs
-
 # Install dependencies
 RUN npm install node-gyp -g