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

Updating path to runit in Dockerfile #86

Merged
merged 1 commit into from
Sep 21, 2016

Conversation

clong
Copy link
Contributor

@clong clong commented Sep 21, 2016

Runit no longer appears to be in testing. When attempting to build the dockerfile on Ubuntu 16.04 and OSX 10.11, I received the following error:

# docker build -t doorman .
Sending build context to Docker daemon 1.838 MB
Step 1 : FROM alpine:latest
 ---> 7d23b3ca3463
Step 2 : RUN apk update
 ---> Running in 2752fc94a38c
fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/community/x86_64/APKINDEX.tar.gz
v3.4.3-66-gc73e68d [http://dl-cdn.alpinelinux.org/alpine/v3.4/main]
v3.4.3-62-gaaf1b40 [http://dl-cdn.alpinelinux.org/alpine/v3.4/community]
OK: 5968 distinct packages available
 ---> e004eba74087
Removing intermediate container 2752fc94a38c
Step 3 : RUN echo "@testing http://dl-4.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories   && apk add --update               bash               build-base               git               libffi-dev               musl               nodejs               postgresql-dev               py-pip               python               python-dev               redis               runit@testing   && pip install --upgrade pip   && npm install -g bower less   && rm /var/cache/apk/*
 ---> Running in fe4e8398c569
fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/community/x86_64/APKINDEX.tar.gz
fetch http://dl-4.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
ERROR: unsatisfiable constraints:
  runit (missing):
    required by: world[runit]
The command '/bin/sh -c echo "@testing http://dl-4.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories   && apk add --update               bash               build-base               git               libffi-dev               musl               nodejs               postgresql-dev               py-pip               python               python-dev               redis               runit@testing   && pip install --upgrade pip   && npm install -g bower less   && rm /var/cache/apk/*' returned a non-zero code: 1

Updating the path to the APK repos fixed this issue on both operating systems and the Dockerfile then was able to build successfully.

@mwielgoszewski mwielgoszewski merged commit 6b28b31 into mwielgoszewski:master Sep 21, 2016
@mwielgoszewski
Copy link
Owner

Thanks @Centurion89!

@clong clong deleted the fix_runit_dockerfile branch September 22, 2016 06:44
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