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

docker build fails #42

Open
iemwill opened this issue Apr 28, 2020 · 3 comments
Open

docker build fails #42

iemwill opened this issue Apr 28, 2020 · 3 comments

Comments

@iemwill
Copy link

iemwill commented Apr 28, 2020

I am trying to build the docker image as described in artifacts/Dockerfiles/RSK-Node/ and am always getting at Step 7/11:

Step 7/11 : RUN   add-apt-repository -y ppa:rsksmart/rskj &&   apt-get update &&   (echo rskj shared/accepted-rsk-license-v1-1 select true | /usr/bin/debconf-set-selections )&&   apt-get install -y --no-install-recommends rskj &&   apt-get clean &&   rm -rf /var/lib/apt/lists/* &&   rm -f /etc/rsk/node.conf &&   ln -s /etc/rsk/regtest.conf /etc/rsk/node.conf
 ---> Running in 75cb63d64139
Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease [97.0 kB]
Ign:3 http://ppa.launchpad.net/rsksmart/rskj/ubuntu focal InRelease
Err:4 http://ppa.launchpad.net/rsksmart/rskj/ubuntu focal Release
  404  Not Found [IP: <IPaddress>]
Get:5 http://security.ubuntu.com/ubuntu focal-security InRelease [101 kB]
Hit:6 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Reading package lists...
E: The repository 'http://ppa.launchpad.net/rsksmart/rskj/ubuntu focal Release' does not have a Release file.
The command '/bin/sh -c add-apt-repository -y ppa:rsksmart/rskj &&   apt-get update &&   (echo rskj shared/accepted-rsk-license-v1-1 select true | /usr/bin/debconf-set-selections )&&   apt-get install -y --no-install-recommends rskj &&   apt-get clean &&   rm -rf /var/lib/apt/lists/* &&   rm -f /etc/rsk/node.conf &&   ln -s /etc/rsk/regtest.conf /etc/rsk/node.conf' returned a non-zero code: 100

the only other unnormal message from the terminal output is from step 5 after getting all the packages:

...
Get:214 http://archive.ubuntu.com/ubuntu focal/main amd64 software-properties-common all 0.98.9 [10.5 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 102 MB in 10s (9818 kB/s)
...

I have searched via google but found nothing promising/working to fix this. I am on Ubuntu 18.04.4 LTS with GNOME 3.28.2

@EthanHee
Copy link

EthanHee commented Jun 12, 2020

@iemwill I get the same issue, have you fix it ?

@EthanHee
Copy link

change the baseimage to ubuntu:18.04 is fine.

@wangluen
Copy link

wangluen commented Jul 7, 2020

change base image from "FROM ubuntu:latest" to "FROM phusion/baseimage:0.10.2", and it works

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

No branches or pull requests

3 participants