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

Switch to Aptible Ubuntu base image and use apt-install (to incorporate apt-get update) #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fancyremarker
Copy link

This issue is intended to fix this bug when building the current Dockerfile:

E: Unable to locate package curl
 The command [/bin/sh -c sudo apt-get install -y curl] returned a non-zero code: 100

This error happens when the APT cache becomes stale, and it's necessary to run apt-get update before apt-get install [...] in order to avoid this.

I've switched to our quay.io/aptible/ubuntu:14.04 image out of habit, but an alternative approach would simply be to add:

RUN sudo apt-get update

before

RUN sudo apt-get install -y curl

@henrystewart
Copy link

Hey guys, it would be helpful to merge this. I ran into this issue just now.

@henrystewart
Copy link

@besquared

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.

2 participants