Skip to content

Commit 77a0279

Browse files
committed
Remove strace
1 parent 28936d2 commit 77a0279

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM alpine:3.14
22
LABEL maintainer="Ferdinand Prantl <prantlf@gmail.com>"
33

4-
RUN apk --no-cache add strace
4+
RUN apk --no-cache add gzip
55
RUN wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub
66
RUNwget -q https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.34-r0/glibc-2.34-r0.apk
77
RUNapk --no-cache add glibc-2.34-r0.apk
@@ -12,5 +12,7 @@ RUN rm glibc-bin-2.34-r0.apk
1212
RUNwget -q https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.34-r0/glibc-i18n-2.34-r0.apk
1313
RUNapk --no-cache add glibc-i18n-2.34-r0.apk
1414
RUNrm glibc-i18n-2.34-r0.apk /etc/apk/keys/sgerrand.rsa.pub
15-
RUNstrace /usr/glibc-compat/bin/localedef -i en_US -f UTF-8 en_US.UTF-8
16-
RUN apk del glibc-bin glibc-i18n strace
15+
RUN gunzip --keep /usr/glibc-compat/share/i18n/charmaps/UTF-8.gz
16+
RUN/usr/glibc-compat/bin/localedef -i en_US -f UTF-8 en_US.UTF-8
17+
RUN rm /usr/glibc-compat/share/i18n/charmaps/UTF-8
18+
RUN apk del glibc-bin glibc-i18n gzip

0 commit comments

Comments
 (0)