rancher / dapper

Docker build wrapper
Apache License 2.0
365 stars 89 forks source link

Dockerfile.dapper: Make dapper build again #76

Closed joakimr-axis closed 4 years ago

joakimr-axis commented 4 years ago

The current code on master no longer builds properly. One would get this message:

"Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies: docker-ce : Depends: containerd.io but it is not going to be installed E: Unable to correct problems, you have held broken packages. The command '/bin/sh -c apt-get update && apt-get install -y 'docker-ce=5:18.09.1~3-0~ubuntu-xenial' bash git jq' returned a non-zero code: 100 FATA[0287] exit status 100
make: *** [Makefile:11: ci] Error 1"

This patchset uses a contemporary golang build container to mitigate this issue.