File tree Expand file tree Collapse file tree 8 files changed +112
-0
lines changed Expand file tree Collapse file tree 8 files changed +112
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,13 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \
42
42
&& tar -xJf "node-v$NODE_VERSION-linux-$ARCH.tar.xz" -C /usr/local --strip-components=1 --no-same-owner \
43
43
&& rm "node-v$NODE_VERSION-linux-$ARCH.tar.xz" SHASUMS256.txt.asc SHASUMS256.txt \
44
44
&& apt-mark auto '.*' > /dev/null \
45
+ && find /usr/local -type f -executable -exec ldd '{}' ';' \
46
+ | awk '/=>/ { print $(NF-1) }' \
47
+ | sort -u \
48
+ | xargs -r dpkg-query --search \
49
+ | cut -d: -f1 \
50
+ | sort -u \
51
+ | xargs -r apt-mark manual \
45
52
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
46
53
&& ln -s /usr/local/bin/node /usr/local/bin/nodejs \
47
54
# smoke tests
@@ -69,6 +76,13 @@ RUN set -ex \
69
76
&& ln -s /opt/yarn-v$YARN_VERSION/bin/yarnpkg /usr/local/bin/yarnpkg \
70
77
&& rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \
71
78
&& apt-mark auto '.*' > /dev/null \
79
+ && find /usr/local -type f -executable -exec ldd '{}' ';' \
80
+ | awk '/=>/ { print $(NF-1) }' \
81
+ | sort -u \
82
+ | xargs -r dpkg-query --search \
83
+ | cut -d: -f1 \
84
+ | sort -u \
85
+ | xargs -r apt-mark manual \
72
86
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
73
87
# smoke test
74
88
&& yarn --version
Original file line number Diff line number Diff line change @@ -42,6 +42,13 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \
42
42
&& tar -xJf "node-v$NODE_VERSION-linux-$ARCH.tar.xz" -C /usr/local --strip-components=1 --no-same-owner \
43
43
&& rm "node-v$NODE_VERSION-linux-$ARCH.tar.xz" SHASUMS256.txt.asc SHASUMS256.txt \
44
44
&& apt-mark auto '.*' > /dev/null \
45
+ && find /usr/local -type f -executable -exec ldd '{}' ';' \
46
+ | awk '/=>/ { print $(NF-1) }' \
47
+ | sort -u \
48
+ | xargs -r dpkg-query --search \
49
+ | cut -d: -f1 \
50
+ | sort -u \
51
+ | xargs -r apt-mark manual \
45
52
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
46
53
&& ln -s /usr/local/bin/node /usr/local/bin/nodejs \
47
54
# smoke tests
@@ -69,6 +76,13 @@ RUN set -ex \
69
76
&& ln -s /opt/yarn-v$YARN_VERSION/bin/yarnpkg /usr/local/bin/yarnpkg \
70
77
&& rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \
71
78
&& apt-mark auto '.*' > /dev/null \
79
+ && find /usr/local -type f -executable -exec ldd '{}' ';' \
80
+ | awk '/=>/ { print $(NF-1) }' \
81
+ | sort -u \
82
+ | xargs -r dpkg-query --search \
83
+ | cut -d: -f1 \
84
+ | sort -u \
85
+ | xargs -r apt-mark manual \
72
86
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
73
87
# smoke test
74
88
&& yarn --version
Original file line number Diff line number Diff line change @@ -42,6 +42,13 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \
42
42
&& tar -xJf "node-v$NODE_VERSION-linux-$ARCH.tar.xz" -C /usr/local --strip-components=1 --no-same-owner \
43
43
&& rm "node-v$NODE_VERSION-linux-$ARCH.tar.xz" SHASUMS256.txt.asc SHASUMS256.txt \
44
44
&& apt-mark auto '.*' > /dev/null \
45
+ && find /usr/local -type f -executable -exec ldd '{}' ';' \
46
+ | awk '/=>/ { print $(NF-1) }' \
47
+ | sort -u \
48
+ | xargs -r dpkg-query --search \
49
+ | cut -d: -f1 \
50
+ | sort -u \
51
+ | xargs -r apt-mark manual \
45
52
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
46
53
&& ln -s /usr/local/bin/node /usr/local/bin/nodejs \
47
54
# smoke tests
@@ -69,6 +76,13 @@ RUN set -ex \
69
76
&& ln -s /opt/yarn-v$YARN_VERSION/bin/yarnpkg /usr/local/bin/yarnpkg \
70
77
&& rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \
71
78
&& apt-mark auto '.*' > /dev/null \
79
+ && find /usr/local -type f -executable -exec ldd '{}' ';' \
80
+ | awk '/=>/ { print $(NF-1) }' \
81
+ | sort -u \
82
+ | xargs -r dpkg-query --search \
83
+ | cut -d: -f1 \
84
+ | sort -u \
85
+ | xargs -r apt-mark manual \
72
86
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
73
87
# smoke test
74
88
&& yarn --version
Original file line number Diff line number Diff line change @@ -42,6 +42,13 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \
42
42
&& tar -xJf "node-v$NODE_VERSION-linux-$ARCH.tar.xz" -C /usr/local --strip-components=1 --no-same-owner \
43
43
&& rm "node-v$NODE_VERSION-linux-$ARCH.tar.xz" SHASUMS256.txt.asc SHASUMS256.txt \
44
44
&& apt-mark auto '.*' > /dev/null \
45
+ && find /usr/local -type f -executable -exec ldd '{}' ';' \
46
+ | awk '/=>/ { print $(NF-1) }' \
47
+ | sort -u \
48
+ | xargs -r dpkg-query --search \
49
+ | cut -d: -f1 \
50
+ | sort -u \
51
+ | xargs -r apt-mark manual \
45
52
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
46
53
&& ln -s /usr/local/bin/node /usr/local/bin/nodejs \
47
54
# smoke tests
@@ -69,6 +76,13 @@ RUN set -ex \
69
76
&& ln -s /opt/yarn-v$YARN_VERSION/bin/yarnpkg /usr/local/bin/yarnpkg \
70
77
&& rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \
71
78
&& apt-mark auto '.*' > /dev/null \
79
+ && find /usr/local -type f -executable -exec ldd '{}' ';' \
80
+ | awk '/=>/ { print $(NF-1) }' \
81
+ | sort -u \
82
+ | xargs -r dpkg-query --search \
83
+ | cut -d: -f1 \
84
+ | sort -u \
85
+ | xargs -r apt-mark manual \
72
86
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
73
87
# smoke test
74
88
&& yarn --version
Original file line number Diff line number Diff line change @@ -42,6 +42,13 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \
42
42
&& tar -xJf "node-v$NODE_VERSION-linux-$ARCH.tar.xz" -C /usr/local --strip-components=1 --no-same-owner \
43
43
&& rm "node-v$NODE_VERSION-linux-$ARCH.tar.xz" SHASUMS256.txt.asc SHASUMS256.txt \
44
44
&& apt-mark auto '.*' > /dev/null \
45
+ && find /usr/local -type f -executable -exec ldd '{}' ';' \
46
+ | awk '/=>/ { print $(NF-1) }' \
47
+ | sort -u \
48
+ | xargs -r dpkg-query --search \
49
+ | cut -d: -f1 \
50
+ | sort -u \
51
+ | xargs -r apt-mark manual \
45
52
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
46
53
&& ln -s /usr/local/bin/node /usr/local/bin/nodejs \
47
54
# smoke tests
@@ -69,6 +76,13 @@ RUN set -ex \
69
76
&& ln -s /opt/yarn-v$YARN_VERSION/bin/yarnpkg /usr/local/bin/yarnpkg \
70
77
&& rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \
71
78
&& apt-mark auto '.*' > /dev/null \
79
+ && find /usr/local -type f -executable -exec ldd '{}' ';' \
80
+ | awk '/=>/ { print $(NF-1) }' \
81
+ | sort -u \
82
+ | xargs -r dpkg-query --search \
83
+ | cut -d: -f1 \
84
+ | sort -u \
85
+ | xargs -r apt-mark manual \
72
86
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
73
87
# smoke test
74
88
&& yarn --version
Original file line number Diff line number Diff line change @@ -42,6 +42,13 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \
42
42
&& tar -xJf "node-v$NODE_VERSION-linux-$ARCH.tar.xz" -C /usr/local --strip-components=1 --no-same-owner \
43
43
&& rm "node-v$NODE_VERSION-linux-$ARCH.tar.xz" SHASUMS256.txt.asc SHASUMS256.txt \
44
44
&& apt-mark auto '.*' > /dev/null \
45
+ && find /usr/local -type f -executable -exec ldd '{}' ';' \
46
+ | awk '/=>/ { print $(NF-1) }' \
47
+ | sort -u \
48
+ | xargs -r dpkg-query --search \
49
+ | cut -d: -f1 \
50
+ | sort -u \
51
+ | xargs -r apt-mark manual \
45
52
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
46
53
&& ln -s /usr/local/bin/node /usr/local/bin/nodejs \
47
54
# smoke tests
@@ -69,6 +76,13 @@ RUN set -ex \
69
76
&& ln -s /opt/yarn-v$YARN_VERSION/bin/yarnpkg /usr/local/bin/yarnpkg \
70
77
&& rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \
71
78
&& apt-mark auto '.*' > /dev/null \
79
+ && find /usr/local -type f -executable -exec ldd '{}' ';' \
80
+ | awk '/=>/ { print $(NF-1) }' \
81
+ | sort -u \
82
+ | xargs -r dpkg-query --search \
83
+ | cut -d: -f1 \
84
+ | sort -u \
85
+ | xargs -r apt-mark manual \
72
86
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
73
87
# smoke test
74
88
&& yarn --version
Original file line number Diff line number Diff line change @@ -42,6 +42,13 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \
42
42
&& tar -xJf "node-v$NODE_VERSION-linux-$ARCH.tar.xz" -C /usr/local --strip-components=1 --no-same-owner \
43
43
&& rm "node-v$NODE_VERSION-linux-$ARCH.tar.xz" SHASUMS256.txt.asc SHASUMS256.txt \
44
44
&& apt-mark auto '.*' > /dev/null \
45
+ && find /usr/local -type f -executable -exec ldd '{}' ';' \
46
+ | awk '/=>/ { print $(NF-1) }' \
47
+ | sort -u \
48
+ | xargs -r dpkg-query --search \
49
+ | cut -d: -f1 \
50
+ | sort -u \
51
+ | xargs -r apt-mark manual \
45
52
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
46
53
&& ln -s /usr/local/bin/node /usr/local/bin/nodejs \
47
54
# smoke tests
@@ -69,6 +76,13 @@ RUN set -ex \
69
76
&& ln -s /opt/yarn-v$YARN_VERSION/bin/yarnpkg /usr/local/bin/yarnpkg \
70
77
&& rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \
71
78
&& apt-mark auto '.*' > /dev/null \
79
+ && find /usr/local -type f -executable -exec ldd '{}' ';' \
80
+ | awk '/=>/ { print $(NF-1) }' \
81
+ | sort -u \
82
+ | xargs -r dpkg-query --search \
83
+ | cut -d: -f1 \
84
+ | sort -u \
85
+ | xargs -r apt-mark manual \
72
86
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
73
87
# smoke test
74
88
&& yarn --version
Original file line number Diff line number Diff line change @@ -32,6 +32,13 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \
32
32
&& tar -xJf "node-v$NODE_VERSION-linux-$ARCH.tar.xz" -C /usr/local --strip-components=1 --no-same-owner \
33
33
&& rm "node-v$NODE_VERSION-linux-$ARCH.tar.xz" SHASUMS256.txt.asc SHASUMS256.txt \
34
34
&& apt-mark auto '.*' > /dev/null \
35
+ && find /usr/local -type f -executable -exec ldd '{}' ';' \
36
+ | awk '/=>/ { print $(NF-1) }' \
37
+ | sort -u \
38
+ | xargs -r dpkg-query --search \
39
+ | cut -d: -f1 \
40
+ | sort -u \
41
+ | xargs -r apt-mark manual \
35
42
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
36
43
&& ln -s /usr/local/bin/node /usr/local/bin/nodejs \
37
44
# smoke tests
@@ -59,6 +66,13 @@ RUN set -ex \
59
66
&& ln -s /opt/yarn-v$YARN_VERSION/bin/yarnpkg /usr/local/bin/yarnpkg \
60
67
&& rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \
61
68
&& apt-mark auto '.*' > /dev/null \
69
+ && find /usr/local -type f -executable -exec ldd '{}' ';' \
70
+ | awk '/=>/ { print $(NF-1) }' \
71
+ | sort -u \
72
+ | xargs -r dpkg-query --search \
73
+ | cut -d: -f1 \
74
+ | sort -u \
75
+ | xargs -r apt-mark manual \
62
76
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
63
77
# smoke test
64
78
&& yarn --version
You can’t perform that action at this time.
0 commit comments