Skip to content

Alpine: Don't install libraries for tkinter #283

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion 2.7/alpine3.6/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,10 @@ RUN set -ex \
&& make install \
\
&& runDeps="$( \
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local \
scanelf --needed --nobanner --format '%f:%n#p' --recursive /usr/local \
# don't install libraries for tkinter as it is rarely used inside a container
| grep -v tkinter \
| cut -d ':' -f 2 \
| tr ',' '\n' \
| sort -u \
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
Expand Down
5 changes: 4 additions & 1 deletion 2.7/alpine3.7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,10 @@ RUN set -ex \
&& make install \
\
&& runDeps="$( \
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local \
scanelf --needed --nobanner --format '%f:%n#p' --recursive /usr/local \
# don't install libraries for tkinter as it is rarely used in a container
| grep -v tkinter \
| cut -d ':' -f 2 \
| tr ',' '\n' \
| sort -u \
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
Expand Down
5 changes: 4 additions & 1 deletion 3.4/alpine3.7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,10 @@ RUN set -ex \
&& make install \
\
&& runDeps="$( \
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local \
scanelf --needed --nobanner --format '%f:%n#p' --recursive /usr/local \
# don't install libraries for tkinter as it is rarely used inside a container
| grep -v tkinter \
| cut -d ':' -f 2 \
| tr ',' '\n' \
| sort -u \
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
Expand Down
5 changes: 4 additions & 1 deletion 3.5/alpine3.7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,10 @@ RUN set -ex \
&& make install \
\
&& runDeps="$( \
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local \
scanelf --needed --nobanner --format '%f:%n#p' --recursive /usr/local \
# don't install libraries for tkinter as it is rarely used inside a container
| grep -v tkinter \
| cut -d ':' -f 2 \
| tr ',' '\n' \
| sort -u \
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
Expand Down
5 changes: 4 additions & 1 deletion 3.6/alpine3.6/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,10 @@ RUN set -ex \
&& make install \
\
&& runDeps="$( \
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local \
scanelf --needed --nobanner --format '%f:%n#p' --recursive /usr/local \
# don't install libraries for tkinter as it is rarely used inside a container
| grep -v tkinter \
| cut -d ':' -f 2 \
| tr ',' '\n' \
| sort -u \
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
Expand Down
5 changes: 4 additions & 1 deletion 3.6/alpine3.7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,10 @@ RUN set -ex \
&& make install \
\
&& runDeps="$( \
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local \
scanelf --needed --nobanner --format '%f:%n#p' --recursive /usr/local \
# don't install libraries for tkinter as it is rarely used inside a container
| grep -v tkinter \
| cut -d ':' -f 2 \
| tr ',' '\n' \
| sort -u \
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
Expand Down
5 changes: 4 additions & 1 deletion 3.7/alpine3.7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,10 @@ RUN set -ex \
&& make install \
\
&& runDeps="$( \
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local \
scanelf --needed --nobanner --format '%f:%n#p' --recursive /usr/local \
# don't install libraries for tkinter as it is rarely used inside a container
| grep -v tkinter \
| cut -d ':' -f 2 \
| tr ',' '\n' \
| sort -u \
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
Expand Down
5 changes: 4 additions & 1 deletion Dockerfile-alpine.template
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,10 @@ RUN set -ex \
&& make install \
\
&& runDeps="$( \
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local \
scanelf --needed --nobanner --format '%f:%n#p' --recursive /usr/local \
# don't install libraries for tkinter as it is rarely used inside a container
| grep -v tkinter \
| cut -d ':' -f 2 \
| tr ',' '\n' \
| sort -u \
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
Expand Down