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

Download node binary and SHASUMs via HTTPS #847

Merged
merged 1 commit into from
Jun 25, 2015
Merged

Download node binary and SHASUMs via HTTPS #847

merged 1 commit into from
Jun 25, 2015

Conversation

chorrell
Copy link
Contributor

This updates the Dockerfiles so that the Node.js binaries and SHASUM files are downloaded via https rather than http. For the slim variant, this also meant having to install (then uninstall) the ca-certificates package.

All the test builds look good!

@tianon
Copy link
Member

tianon commented Jun 25, 2015

LGTM (nodejs/docker-node@95a8684...3e0d2b6)

Build test of #847; 5421c7f (node):

$ url="https://raw.githubusercontent.com/docker-library/official-images/5421c7fce67667959cb09db2c06ea86697830718/library/node"
$ bashbrew build "$url"
Fetching node (git://github.com/joyent/docker-node) ...
Processing node:0.10.39 ...
Processing node:0.10 ...
Processing node:0.10.39-onbuild ...
Processing node:0.10-onbuild ...
Processing node:0.10.39-slim ...
Processing node:0.10-slim ...
Processing node:0.10.39-wheezy ...
Processing node:0.10-wheezy ...
Processing node:0.12.5 ...
Processing node:0.12 ...
Processing node:0 ...
Processing node:latest ...
Processing node:0.12.5-onbuild ...
Processing node:0.12-onbuild ...
Processing node:0-onbuild ...
Processing node:onbuild ...
Processing node:0.12.5-slim ...
Processing node:0.12-slim ...
Processing node:0-slim ...
Processing node:slim ...
Processing node:0.12.5-wheezy ...
Processing node:0.12-wheezy ...
Processing node:0-wheezy ...
Processing node:wheezy ...
Processing node:0.8.28 ...
Processing node:0.8 ...
Processing node:0.8.28-onbuild ...
Processing node:0.8-onbuild ...
Processing node:0.8.28-slim ...
Processing node:0.8-slim ...
Processing node:0.8.28-wheezy ...
Processing node:0.8-wheezy ...
$ bashbrew list --uniq "$url" | xargs test/run.sh
testing node:0.10.39
    'utc' [1/3]...passed
    'cve-2014--shellshock' [2/3]...passed
    'no-hard-coded-passwords' [3/3]...passed
testing node:0.10.39-onbuild
    'utc' [1/3]...passed
    'cve-2014--shellshock' [2/3]...passed
    'no-hard-coded-passwords' [3/3]...passed
testing node:0.10.39-slim
    'utc' [1/3]...passed
    'cve-2014--shellshock' [2/3]...passed
    'no-hard-coded-passwords' [3/3]...passed
testing node:0.10.39-wheezy
    'utc' [1/3]...passed
    'cve-2014--shellshock' [2/3]...passed
    'no-hard-coded-passwords' [3/3]...passed
testing node:0.12.5
    'utc' [1/3]...passed
    'cve-2014--shellshock' [2/3]...passed
    'no-hard-coded-passwords' [3/3]...passed
testing node:0.12.5-onbuild
    'utc' [1/3]...passed
    'cve-2014--shellshock' [2/3]...passed
    'no-hard-coded-passwords' [3/3]...passed
testing node:0.12.5-slim
    'utc' [1/3]...passed
    'cve-2014--shellshock' [2/3]...passed
    'no-hard-coded-passwords' [3/3]...passed
testing node:0.12.5-wheezy
    'utc' [1/3]...passed
    'cve-2014--shellshock' [2/3]...passed
    'no-hard-coded-passwords' [3/3]...passed
testing node:0.8.28
    'utc' [1/3]...passed
    'cve-2014--shellshock' [2/3]...passed
    'no-hard-coded-passwords' [3/3]...passed
testing node:0.8.28-onbuild
    'utc' [1/3]...passed
    'cve-2014--shellshock' [2/3]...passed
    'no-hard-coded-passwords' [3/3]...passed
testing node:0.8.28-slim
    'utc' [1/3]...passed
    'cve-2014--shellshock' [2/3]...passed
    'no-hard-coded-passwords' [3/3]...passed
testing node:0.8.28-wheezy
    'utc' [1/3]...passed
    'cve-2014--shellshock' [2/3]...passed
    'no-hard-coded-passwords' [3/3]...passed

@yosifkit
Copy link
Member

LGTM

yosifkit added a commit that referenced this pull request Jun 25, 2015
Download node binary and SHASUMs via HTTPS
@yosifkit yosifkit merged commit efdbf35 into docker-library:master Jun 25, 2015
@chorrell chorrell deleted the https branch April 6, 2016 01:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants