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

making new docker builder image is broken in xenial #5476

Closed
2 tasks
kushaldas opened this issue Sep 2, 2020 · 2 comments · Fixed by #5477
Closed
2 tasks

making new docker builder image is broken in xenial #5476

kushaldas opened this issue Sep 2, 2020 · 2 comments · Fixed by #5477

Comments

@kushaldas
Copy link
Contributor

kushaldas commented Sep 2, 2020

Description

The Dockerfile to create a new builder image for Xenial is broken.

Steps to Reproduce

  • cd molecule/builder-xenial
  • make

Expected Behavior

  • This should create a new docker image

Actual Behavior

Failing with error like:

127 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
Processing triggers for sgml-base (1.26+nmu4ubuntu1) ...
Removing intermediate container 708a61c9db0b
 ---> 261ecf55e951
Step 5/10 : RUN echo "deb https://deb.debian.org/debian unstable main contrib" > /etc/apt/sources.list.d/debian-unstable.list
 ---> Running in e49db1f15227
Removing intermediate container e49db1f15227
 ---> c6977474d067
Step 6/10 : COPY aptpreferences.conf /etc/apt/preferences.d/debian-unstable
 ---> 39ef5cc1127a
Step 7/10 : RUN apt-get install -y debian-archive-keyring
 ---> Running in 83fb83c6eb33
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package debian-archive-keyring
The command '/bin/sh -c apt-get install -y debian-archive-keyring' returned a non-zero code: 100
make: *** [Makefile:7: build-container] Error 100

Comments

  • Most probably missing apt update step after adding the debian repo and needs apt https magic.
@conorsch
Copy link
Contributor

conorsch commented Sep 2, 2020

I can repro, will attempt a fix.

@conorsch
Copy link
Contributor

conorsch commented Sep 2, 2020

Same problem does not affect the new focal builder. Will test again during re-review of #5465 to be sure.

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 a pull request may close this issue.

2 participants