Don't use github oauth token while building docker image

This commit is contained in:
ErickSkrauch 2020-05-21 15:26:15 +03:00
parent 1cea0bb174
commit dd588160b0

View File

@ -33,7 +33,6 @@ COPY --from=node:11.13.0-alpine /usr/local/bin/node /usr/bin/
COPY --from=node:11.13.0-alpine /usr/lib/libgcc* /usr/lib/libstdc* /usr/lib/* /usr/lib/
RUN mkdir /root/.composer \
&& echo '{"github-oauth": {"github.com": "***REMOVED***"}}' > ~/.composer/auth.json \
&& composer global require --no-progress "hirak/prestissimo:>=0.3.8" \
&& composer clear-cache