Browse Source

install new `gettext-envsubst` package instead of `gettext` (to remove unused components from image)

https://web.archive.org/web/20230519204928/https://git.alpinelinux.org/aports/commit/main/gettext?h=3.18-stable&id=daf6814d030b4190ddc9444943ba8e48bf5392ec
https://web.archive.org/web/20230519205008/https://git.alpinelinux.org/aports/commit/main/gettext?h=3.18-stable&id=9f0e67f6c3b60e42080fbe33c98561e80ed6c6c6
Fabian Peter Hammerle 10 months ago
parent
commit
191c37fcf0
3 changed files with 6 additions and 3 deletions
  1. 3 0
      CHANGELOG.md
  2. 3 2
      Dockerfile
  3. 0 1
      gettext-package-log.url

+ 3 - 0
CHANGELOG.md

@@ -5,6 +5,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
 
 ## [Unreleased]
+### Fixed
+- install `gettext-envsubst` package instead of `gettext`
+  to remove unused components from image
 
 ## [3.1.0] - 2021-03-26
 ### Added

+ 3 - 2
Dockerfile

@@ -1,10 +1,11 @@
 FROM docker.io/alpine:3.18.0
 
-ARG GETTEXT_PACKAGE_VERSION=0.21.1-r5
+# https://git.alpinelinux.org/aports/log/main/gettext?h=3.18-stable
+ARG GETTEXT_PACKAGE_VERSION=0.21.1-r7
 ARG TOR_PACKAGE_VERSION=0.4.7.13-r2
 RUN apk add --no-cache \
         tor=$TOR_PACKAGE_VERSION \
-        gettext=$GETTEXT_PACKAGE_VERSION \
+        gettext-envsubst=$GETTEXT_PACKAGE_VERSION \
     && mkdir -m u=rwx,g=,o= /onion-service \
     && chown tor /onion-service
 VOLUME /var/lib/tor

+ 0 - 1
gettext-package-log.url

@@ -1 +0,0 @@
-https://git.alpinelinux.org/aports/log/main/gettext?h=3.18-stable