File tree 5 files changed +18
-18
lines changed
5 files changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -322,7 +322,8 @@ ENV JAVA_HOME=/usr/lib/jvm/java-11-openjdk
322
322
ENV PATH="$JAVA_HOME/bin:${PATH}"
323
323
324
324
# PHP installation
325
- RUN wget --tries=5 -q -O phive.phar https://phar.io/releases/phive.phar \
325
+ RUN export GITHUB_AUTH_TOKEN="$(cat /run/secrets/GITHUB_TOKEN)" \
326
+ && wget --tries=5 -q -O phive.phar https://phar.io/releases/phive.phar \
326
327
&& wget --tries=5 -q -O phive.phar.asc https://phar.io/releases/phive.phar.asc \
327
328
&& PHAR_KEY_ID="0x9D8A98B29B2D5D79" \
328
329
&& ( gpg --keyserver keyserver.pgp.com --recv-keys "$PHAR_KEY_ID" \
@@ -499,13 +500,13 @@ RUN curl --retry 5 --retry-delay 5 -sLO "${ARM_TTK_URI}" \
499
500
&& curl --retry 5 --retry-delay 5 -sL https://cpanmin.us/ | perl - -nq --no-wget Perl::Critic \
500
501
501
502
# phpcs installation
502
- && phive --no-progress install phpcs -g --trust-gpg-keys 31C7E470E2138192 \
503
+ && export GITHUB_AUTH_TOKEN= "$(cat /run/secrets/GITHUB_TOKEN)" && phive --no-progress install phpcs -g --trust-gpg-keys 31C7E470E2138192 \
503
504
504
505
# phpstan installation
505
- && phive --no-progress install phpstan -g --trust-gpg-keys CF1A108D0E7AE720 \
506
+ && export GITHUB_AUTH_TOKEN= "$(cat /run/secrets/GITHUB_TOKEN)" && phive --no-progress install phpstan -g --trust-gpg-keys CF1A108D0E7AE720 \
506
507
507
508
# psalm installation
508
- && phive --no-progress install psalm -g --trust-gpg-keys 8A03EA3B385DBAA1,12CE0F1D262429A5 \
509
+ && export GITHUB_AUTH_TOKEN= "$(cat /run/secrets/GITHUB_TOKEN)" && phive --no-progress install psalm -g --trust-gpg-keys 8A03EA3B385DBAA1,12CE0F1D262429A5 \
509
510
510
511
# phplint installation
511
512
&& composer global require --ignore-platform-reqs overtrue/phplint ^5.3 \
Original file line number Diff line number Diff line change @@ -265,7 +265,8 @@ ENV JAVA_HOME=/usr/lib/jvm/java-11-openjdk
265
265
ENV PATH="$JAVA_HOME/bin:${PATH}"
266
266
267
267
# PHP installation
268
- RUN wget --tries=5 -q -O phive.phar https://phar.io/releases/phive.phar \
268
+ RUN export GITHUB_AUTH_TOKEN="$(cat /run/secrets/GITHUB_TOKEN)" \
269
+ && wget --tries=5 -q -O phive.phar https://phar.io/releases/phive.phar \
269
270
&& wget --tries=5 -q -O phive.phar.asc https://phar.io/releases/phive.phar.asc \
270
271
&& PHAR_KEY_ID="0x9D8A98B29B2D5D79" \
271
272
&& ( gpg --keyserver keyserver.pgp.com --recv-keys "$PHAR_KEY_ID" \
@@ -362,13 +363,13 @@ RUN go install github.com/rhysd/actionlint/cmd/actionlint@latest && go clean --c
362
363
&& chmod 755 /usr/local/bin/checkmake \
363
364
364
365
# phpcs installation
365
- && phive --no-progress install phpcs -g --trust-gpg-keys 31C7E470E2138192 \
366
+ && export GITHUB_AUTH_TOKEN= "$(cat /run/secrets/GITHUB_TOKEN)" && phive --no-progress install phpcs -g --trust-gpg-keys 31C7E470E2138192 \
366
367
367
368
# phpstan installation
368
- && phive --no-progress install phpstan -g --trust-gpg-keys CF1A108D0E7AE720 \
369
+ && export GITHUB_AUTH_TOKEN= "$(cat /run/secrets/GITHUB_TOKEN)" && phive --no-progress install phpstan -g --trust-gpg-keys CF1A108D0E7AE720 \
369
370
370
371
# psalm installation
371
- && phive --no-progress install psalm -g --trust-gpg-keys 8A03EA3B385DBAA1,12CE0F1D262429A5 \
372
+ && export GITHUB_AUTH_TOKEN= "$(cat /run/secrets/GITHUB_TOKEN)" && phive --no-progress install psalm -g --trust-gpg-keys 8A03EA3B385DBAA1,12CE0F1D262429A5 \
372
373
373
374
# phplint installation
374
375
&& composer global require --ignore-platform-reqs overtrue/phplint ^5.3 \
Original file line number Diff line number Diff line change @@ -215,7 +215,8 @@ COPY --from=gitleaks /usr/bin/gitleaks /usr/bin/
215
215
# ############################################################################################
216
216
# OTHER__START
217
217
# PHP installation
218
- RUN wget --tries=5 -q -O phive.phar https://phar.io/releases/phive.phar \
218
+ RUN export GITHUB_AUTH_TOKEN="$(cat /run/secrets/GITHUB_TOKEN)" \
219
+ && wget --tries=5 -q -O phive.phar https://phar.io/releases/phive.phar \
219
220
&& wget --tries=5 -q -O phive.phar.asc https://phar.io/releases/phive.phar.asc \
220
221
&& PHAR_KEY_ID="0x9D8A98B29B2D5D79" \
221
222
&& ( gpg --keyserver keyserver.pgp.com --recv-keys "$PHAR_KEY_ID" \
@@ -282,13 +283,13 @@ RUN go install github.com/rhysd/actionlint/cmd/actionlint@latest && go clean --c
282
283
&& find ${ML_THIRD_PARTY_DIR} -type f -not -name 'LICENSE*' -delete -o -type d -empty -delete \
283
284
284
285
# phpcs installation
285
- && phive --no-progress install phpcs -g --trust-gpg-keys 31C7E470E2138192 \
286
+ && export GITHUB_AUTH_TOKEN= "$(cat /run/secrets/GITHUB_TOKEN)" && phive --no-progress install phpcs -g --trust-gpg-keys 31C7E470E2138192 \
286
287
287
288
# phpstan installation
288
- && phive --no-progress install phpstan -g --trust-gpg-keys CF1A108D0E7AE720 \
289
+ && export GITHUB_AUTH_TOKEN= "$(cat /run/secrets/GITHUB_TOKEN)" && phive --no-progress install phpstan -g --trust-gpg-keys CF1A108D0E7AE720 \
289
290
290
291
# psalm installation
291
- && phive --no-progress install psalm -g --trust-gpg-keys 8A03EA3B385DBAA1,12CE0F1D262429A5 \
292
+ && export GITHUB_AUTH_TOKEN= "$(cat /run/secrets/GITHUB_TOKEN)" && phive --no-progress install psalm -g --trust-gpg-keys 8A03EA3B385DBAA1,12CE0F1D262429A5 \
292
293
293
294
# phplint installation
294
295
&& composer global require --ignore-platform-reqs overtrue/phplint ^5.3 \
Original file line number Diff line number Diff line change @@ -134,7 +134,8 @@ ENV PATH="/node-deps/node_modules/.bin:${PATH}" \
134
134
# ############################################################################################
135
135
# OTHER__START
136
136
# PHP installation
137
- RUN wget --tries=5 -q -O phive.phar https://phar.io/releases/phive.phar \
137
+ RUN export GITHUB_AUTH_TOKEN="$(cat /run/secrets/GITHUB_TOKEN)" \
138
+ && wget --tries=5 -q -O phive.phar https://phar.io/releases/phive.phar \
138
139
&& wget --tries=5 -q -O phive.phar.asc https://phar.io/releases/phive.phar.asc \
139
140
&& PHAR_KEY_ID="0x9D8A98B29B2D5D79" \
140
141
&& ( gpg --keyserver keyserver.pgp.com --recv-keys "$PHAR_KEY_ID" \
@@ -150,7 +151,7 @@ RUN wget --tries=5 -q -O phive.phar https://phar.io/releases/phive.phar \
150
151
ENV PATH="/root/.composer/vendor/bin:$PATH"
151
152
152
153
# psalm installation
153
- RUN phive --no-progress install psalm -g --trust-gpg-keys 8A03EA3B385DBAA1,12CE0F1D262429A5
154
+ RUN export GITHUB_AUTH_TOKEN= "$(cat /run/secrets/GITHUB_TOKEN)" && phive --no-progress install psalm -g --trust-gpg-keys 8A03EA3B385DBAA1,12CE0F1D262429A5
154
155
155
156
156
157
# OTHER__END
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ install:
21
21
- dpkg
22
22
dockerfile :
23
23
- |
24
- ARG GITHUB_AUTH_TOKEN
25
24
RUN export GITHUB_AUTH_TOKEN="$(cat /run/secrets/GITHUB_TOKEN)" \
26
25
&& wget --tries=5 -q -O phive.phar https://phar.io/releases/phive.phar \
27
26
&& wget --tries=5 -q -O phive.phar.asc https://phar.io/releases/phive.phar.asc \
@@ -54,7 +53,6 @@ linters:
54
53
install :
55
54
dockerfile :
56
55
- |
57
- ARG GITHUB_AUTH_TOKEN
58
56
RUN export GITHUB_AUTH_TOKEN="$(cat /run/secrets/GITHUB_TOKEN)" && phive --no-progress install phpcs -g --trust-gpg-keys 31C7E470E2138192
59
57
ide :
60
58
atom :
@@ -99,7 +97,6 @@ linters:
99
97
install :
100
98
dockerfile :
101
99
- |
102
- ARG GITHUB_AUTH_TOKEN
103
100
RUN export GITHUB_AUTH_TOKEN="$(cat /run/secrets/GITHUB_TOKEN)" && phive --no-progress install phpstan -g --trust-gpg-keys CF1A108D0E7AE720
104
101
ide :
105
102
idea :
@@ -134,7 +131,6 @@ linters:
134
131
install :
135
132
dockerfile :
136
133
- |
137
- ARG GITHUB_AUTH_TOKEN
138
134
RUN export GITHUB_AUTH_TOKEN="$(cat /run/secrets/GITHUB_TOKEN)" && phive --no-progress install psalm -g --trust-gpg-keys 8A03EA3B385DBAA1,12CE0F1D262429A5
139
135
ide :
140
136
idea :
You can’t perform that action at this time.
0 commit comments