-
Notifications
You must be signed in to change notification settings - Fork 319
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
Update Docker to 19.03.8 #262
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
FROM docker:18.09.0-dind | ||
FROM docker:19.03.8-dind | ||
|
||
ENV DOCKER_HOST=unix:///var/run/docker.sock | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are you sure this is required? The command execution is not loading env variables, so I think this change can simply get reverted. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No, it won't work if you revert this, docker client will try to connect on default value of There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is from the entrypoint calling dockerd-entrypoint.sh which calls docker-entrypoint.sh which sets DOCKER_HOST when unset. I don't think there's anything needed from those entrypoint scripts for drone so we could change the entrypoint to:
and then remove the |
||
|
||
ADD release/linux/amd64/drone-docker /bin/ | ||
ENTRYPOINT ["/usr/local/bin/dockerd-entrypoint.sh", "/bin/drone-docker"] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
FROM arm32v6/docker:18.09.0-dind | ||
FROM arm32v6/docker:19.03.8-dind | ||
|
||
ENV DOCKER_HOST=unix:///var/run/docker.sock | ||
|
||
ADD release/linux/arm/drone-docker /bin/ | ||
ENTRYPOINT ["/usr/local/bin/dockerd-entrypoint.sh", "/bin/drone-docker"] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
FROM arm64v8/docker:18.09.0-dind | ||
FROM arm64v8/docker:19.03.8-dind | ||
|
||
ENV DOCKER_HOST=unix:///var/run/docker.sock | ||
|
||
ADD release/linux/arm64/drone-docker /bin/ | ||
ENTRYPOINT ["/usr/local/bin/dockerd-entrypoint.sh", "/bin/drone-docker"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hard-coding the unix socket would break the plugin for windows. Are we sure this change is necessary since
DOCKER_HOST
is being set globally as an image environment variable?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The other solution would be to listen on TCP socket without TLS, like this
tcp://0.0.0.0:2375
.Should I make the change ?