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

Upgrade to Docker 20.10.05 #326

Open
prologic opened this issue Jul 13, 2021 · 0 comments
Open

Upgrade to Docker 20.10.05 #326

prologic opened this issue Jul 13, 2021 · 0 comments

Comments

@prologic
Copy link

Hi 👋

Due to the fact that the Drone Docker plugin still uses Docker v19.03.8:

latest: Pulling from plugins/docker
3s
2	Digest: sha256:1088e4e26b87ac4c24948ec2d2a738cea1f9e4e9a7b81eef3b77eae41d57e978
3s
3	Status: Image is up to date for plugins/docker:latest
3s
4	+ /usr/local/bin/dockerd --data-root /var/lib/docker --host=unix:///var/run/docker.sock
4s
5	Registry credentials or Docker config not provided. Guest mode enabled.
6s
6	+ /usr/local/bin/docker version
6s
7	Client: Docker Engine - Community
6s
8	 Version:           19.03.8
...

One will run into the following error when using make and a Makefile in conjunctionn with an Alpine image 3.14+:

Step 9/21 : RUN make TAG=$TAG BUILD=$BUILD build
83s
169	 ---> Running in 5371b7f93f10
83s
170	make: rm: Operation not permitted
84s
171	make: *** [Makefile:33: clean] Error 127

This was filed as a bug report upstream with Alpine which linked to this set of fixes and work-arounds.

The simplest fix is to upgrade the Docker version used here.

Can we do that please?

gzm0 added a commit to gzm0/drone-docker that referenced this issue Sep 27, 2021
This is an alternative to drone-plugins#327. As the discussion on that PR shows, it
seems docker is not going to provide updates for the arm32 platform
anymore.

Fixes drone-plugins#326 and fixes drone-plugins#330.
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.

1 participant