Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions 20.10/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ FROM alpine:{{ .alpine }}

RUN apk add --no-cache \
ca-certificates \
{{ if ["19.03", "19.03-rc", "20.10-rc"] | index(env.version) | not then ( -}}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very minor nit that this should probably be env.version == "20.10", but it's harmless and the same either way, and hopefully temporary 😄

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh! wrote this based on the existing example I found. didn't try other options, but yes, makes sense.

# Workaround for golang not producing a static ctr binary on Go 1.15 and up https://github.com/containerd/containerd/issues/5824
libc6-compat \
{{ ) else "" end -}}
# DOCKER_HOST=ssh://... -- https://github.com/docker/cli/pull/1014
openssh-client

Expand Down