Skip to content
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

Temporarily revert Alpine build ccache implement #932

Closed

Conversation

PeterDaveHello
Copy link
Member

@PeterDaveHello PeterDaveHello requested a review from a team November 22, 2018 14:50
@chorrell
Copy link
Contributor

Thanks, this probably wasn't an easy PR to put together. Fortunately we have a record in git of the changes so we can revisit this again after the security update.

@@ -40,19 +39,13 @@ RUN addgroup -g 1000 node \
&& grep " node-v$NODE_VERSION.tar.xz\$" SHASUMS256.txt | sha256sum -c - \
&& tar -xf "node-v$NODE_VERSION.tar.xz" \
&& cd "node-v$NODE_VERSION" \
&& ln -s /usr/bin/ccache /usr/local/bin/cc \
&& ln -s /usr/bin/ccache /usr/local/bin/gcc \
&& ln -s /usr/bin/ccache /usr/local/bin/g++ \
&& HOST_IP="$(ip route | awk '/default/ { print $3 }')" \
&& nc -v "$HOST_IP" 5678 | tar -xz -C / || true \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are the most problematic bits (nc to the host machine IP is really hacky), so I'd recommend including them in this revert.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Used git revert to create a more direct "revert" alternative at #933 to try and help this get in for the security release next week. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants