From fb6f774c98b7b0083ca0ff61f2a2d14f6b8355b5 Mon Sep 17 00:00:00 2001 From: Jesus Palencia Date: Sat, 7 Dec 2024 19:18:45 -0400 Subject: [PATCH] * versiones --- Dockerfile | 5 ----- Dockerfile20 | 5 +++++ Dockerfile22 | 5 +++++ Dockerfile23 | 5 +++++ README.md | 2 +- 5 files changed, 16 insertions(+), 6 deletions(-) delete mode 100644 Dockerfile create mode 100644 Dockerfile20 create mode 100644 Dockerfile22 create mode 100644 Dockerfile23 diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 4e48c62..0000000 --- a/Dockerfile +++ /dev/null @@ -1,5 +0,0 @@ -FROM node:20-slim -RUN mkdir /app -WORKDIR /app -RUN apt update -qq && apt -y --no-install-recommends --no-install-suggests install awscli wget nano curl git && apt-get clean && rm -rf /var/lib/{apt,dpkg,cache,log} && apt -y autoremove -RUN npm install -g ionic diff --git a/Dockerfile20 b/Dockerfile20 new file mode 100644 index 0000000..9facb66 --- /dev/null +++ b/Dockerfile20 @@ -0,0 +1,5 @@ +FROM node:20-slim +RUN mkdir /app +WORKDIR /app +RUN apt update -qq && apt-get -y dist-upgrade && apt -y --no-install-recommends --no-install-suggests install awscli wget nano curl git && apt-get clean && apt -y autoremove && rm -rf /var/lib/{apt,dpkg,cache,log} +RUN npm install -g ionic diff --git a/Dockerfile22 b/Dockerfile22 new file mode 100644 index 0000000..3998e0f --- /dev/null +++ b/Dockerfile22 @@ -0,0 +1,5 @@ +FROM node:22-slim +RUN mkdir /app +WORKDIR /app +RUN apt update -qq && apt-get -y dist-upgrade && apt -y --no-install-recommends --no-install-suggests install awscli wget nano curl git && apt-get clean && apt -y autoremove && rm -rf /var/lib/{apt,dpkg,cache,log} +RUN npm install -g @ionic/cli diff --git a/Dockerfile23 b/Dockerfile23 new file mode 100644 index 0000000..d5309ba --- /dev/null +++ b/Dockerfile23 @@ -0,0 +1,5 @@ +FROM node:23-slim +RUN mkdir /app +WORKDIR /app +RUN apt update -qq && apt-get -y dist-upgrade && apt -y --no-install-recommends --no-install-suggests install awscli wget nano curl git && apt-get clean && apt -y autoremove && rm -rf /var/lib/{apt,dpkg,cache,log} +RUN npm install -g @ionic/cli diff --git a/README.md b/README.md index 14d1d78..e076a8e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # base-node-ionic -A node 20 Docker image with ionic. +A node Docker image with ionic. The tag corresponds to the node version List of installed packages: