From 73d97d6e2c8f804f5adc72b8316f0623fac52d67 Mon Sep 17 00:00:00 2001 From: gerald <3949379+getong@users.noreply.github.com> Date: Tue, 21 Oct 2025 11:03:20 +0800 Subject: [PATCH] delete duplicated dockerfile --- 1.19/otp-28-alpine/Dockerfile | 27 --------------------------- 1.19/otp-28-slim/Dockerfile | 29 ----------------------------- 1.19/otp-28/Dockerfile | 20 -------------------- 3 files changed, 76 deletions(-) delete mode 100644 1.19/otp-28-alpine/Dockerfile delete mode 100644 1.19/otp-28-slim/Dockerfile delete mode 100644 1.19/otp-28/Dockerfile diff --git a/1.19/otp-28-alpine/Dockerfile b/1.19/otp-28-alpine/Dockerfile deleted file mode 100644 index 5a0ecc5..0000000 --- a/1.19/otp-28-alpine/Dockerfile +++ /dev/null @@ -1,27 +0,0 @@ -FROM erlang:28-alpine - -# elixir expects utf8. -ENV ELIXIR_VERSION="v1.19.0" \ - LANG=C.UTF-8 - -RUN set -xe \ - && ELIXIR_DOWNLOAD_URL="https://github.com/elixir-lang/elixir/archive/${ELIXIR_VERSION}.tar.gz" \ - && ELIXIR_DOWNLOAD_SHA256="99a684045b49f9c5005a1aa8278e1bac8c3769e0a5a13c05ef80b69113029234" \ - && buildDeps=' \ - ca-certificates \ - curl \ - make \ - ' \ - && apk add --no-cache --virtual .build-deps $buildDeps \ - && curl -fSL -o elixir-src.tar.gz $ELIXIR_DOWNLOAD_URL \ - && echo "$ELIXIR_DOWNLOAD_SHA256 elixir-src.tar.gz" | sha256sum -c - \ - && mkdir -p /usr/local/src/elixir \ - && tar -xzC /usr/local/src/elixir --strip-components=1 -f elixir-src.tar.gz \ - && rm elixir-src.tar.gz \ - && cd /usr/local/src/elixir \ - && make install clean \ - && find /usr/local/src/elixir/ -type f -not -regex "/usr/local/src/elixir/lib/[^\/]*/lib.*" -exec rm -rf {} + \ - && find /usr/local/src/elixir/ -type d -depth -empty -delete \ - && apk del .build-deps - -CMD ["iex"] diff --git a/1.19/otp-28-slim/Dockerfile b/1.19/otp-28-slim/Dockerfile deleted file mode 100644 index f5520a3..0000000 --- a/1.19/otp-28-slim/Dockerfile +++ /dev/null @@ -1,29 +0,0 @@ -FROM erlang:28-slim - -# elixir expects utf8. -ENV ELIXIR_VERSION="v1.19.0" \ - LANG=C.UTF-8 - -RUN set -xe \ - && ELIXIR_DOWNLOAD_URL="https://github.com/elixir-lang/elixir/archive/${ELIXIR_VERSION}.tar.gz" \ - && ELIXIR_DOWNLOAD_SHA256="99a684045b49f9c5005a1aa8278e1bac8c3769e0a5a13c05ef80b69113029234" \ - && buildDeps=' \ - ca-certificates \ - curl \ - make \ - ' \ - && apt-get update \ - && apt-get install -y --no-install-recommends $buildDeps \ - && curl -fSL -o elixir-src.tar.gz $ELIXIR_DOWNLOAD_URL \ - && echo "$ELIXIR_DOWNLOAD_SHA256 elixir-src.tar.gz" | sha256sum -c - \ - && mkdir -p /usr/local/src/elixir \ - && tar -xzC /usr/local/src/elixir --strip-components=1 -f elixir-src.tar.gz \ - && rm elixir-src.tar.gz \ - && cd /usr/local/src/elixir \ - && make install clean \ - && find /usr/local/src/elixir/ -type f -not -regex "/usr/local/src/elixir/lib/[^\/]*/lib.*" -exec rm -rf {} + \ - && find /usr/local/src/elixir/ -type d -depth -empty -delete \ - && apt-get purge -y --auto-remove $buildDeps \ - && rm -rf /var/lib/apt/lists/* - -CMD ["iex"] diff --git a/1.19/otp-28/Dockerfile b/1.19/otp-28/Dockerfile deleted file mode 100644 index 165371d..0000000 --- a/1.19/otp-28/Dockerfile +++ /dev/null @@ -1,20 +0,0 @@ -FROM erlang:28 - -# elixir expects utf8. -ENV ELIXIR_VERSION="v1.19.0" \ - LANG=C.UTF-8 - -RUN set -xe \ - && ELIXIR_DOWNLOAD_URL="https://github.com/elixir-lang/elixir/archive/${ELIXIR_VERSION}.tar.gz" \ - && ELIXIR_DOWNLOAD_SHA256="99a684045b49f9c5005a1aa8278e1bac8c3769e0a5a13c05ef80b69113029234" \ - && curl -fSL -o elixir-src.tar.gz $ELIXIR_DOWNLOAD_URL \ - && echo "$ELIXIR_DOWNLOAD_SHA256 elixir-src.tar.gz" | sha256sum -c - \ - && mkdir -p /usr/local/src/elixir \ - && tar -xzC /usr/local/src/elixir --strip-components=1 -f elixir-src.tar.gz \ - && rm elixir-src.tar.gz \ - && cd /usr/local/src/elixir \ - && make install clean \ - && find /usr/local/src/elixir/ -type f -not -regex "/usr/local/src/elixir/lib/[^\/]*/lib.*" -exec rm -rf {} + \ - && find /usr/local/src/elixir/ -type d -depth -empty -delete - -CMD ["iex"]