|
@@ -1,9 +1,22 @@
|
|
-FROM alpine:3.16.0 as app
|
|
|
|
|
|
+FROM ubuntu:22.04
|
|
|
|
|
|
WORKDIR /
|
|
WORKDIR /
|
|
|
|
|
|
|
|
+RUN apt-get update
|
|
# Install docker
|
|
# Install docker
|
|
-RUN apk --no-cache add docker-compose nodejs npm bash g++ make git
|
|
|
|
|
|
+RUN apt-get install -y ca-certificates curl gnupg lsb-release
|
|
|
|
+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 apt-get install -y bash g++ make git
|
|
|
|
|
|
RUN npm install node-gyp -g
|
|
RUN npm install node-gyp -g
|
|
|
|
|