Skip to content

Commit

Permalink
feat: base versions on Dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Lincoln Wallace <lincoln.wallace@canonical.com>
  • Loading branch information
locnnil committed Sep 2, 2024
1 parent 0c93a2c commit ed27d64
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ parts:
install -T bundles/dynbinary-daemon/dockerd "$CRAFT_PART_INSTALL/bin/dockerd"
# install docker-proxy previously provided by libnetwork part
install -T bundles/dynbinary-daemon/docker-proxy "$CRAFT_PART_INSTALL/bin/docker-proxy"
# https://github.com/moby/moby/blob/v27.2.0/Dockerfile.simple (Docker-supported Go version for Engine)
# https://github.com/moby/moby/blob/v27.2.0/Dockerfile#L3 (Docker-supported Go version for Engine)
build-snaps: &go ['go/1.21/stable']
# we get weird behavior if we mix/match Go versions throughout this one snapcraft.yml, so we use a YAML reference here to ensure we're always consistent throughout
after: [wrapper-scripts]
Expand All @@ -215,7 +215,7 @@ parts:
containerd:
plugin: make
source: https://github.com/containerd/containerd.git
# from https://github.com/moby/moby/releases/tag/v27.2.0
# from https://github.com/moby/moby/blob/v27.2.0/Dockerfile#L199
source-tag: v1.7.21
source-depth: 1
override-build: |
Expand All @@ -232,7 +232,7 @@ parts:
runc:
plugin: make
source: https://github.com/opencontainers/runc.git
# from https://github.com/moby/moby/releases/tag/v27.0.0-rc.2
# from https://github.com/moby/moby/blob/v27.2.0/Dockerfile#L290
source-tag: v1.1.13
source-depth: 1
override-build: |
Expand Down Expand Up @@ -295,7 +295,7 @@ parts:
plugin: cmake
source: https://github.com/krallin/tini.git
source-type: git
# from https://github.com/moby/moby/blob/v27.2.0/hack/dockerfile/install/tini.installer
# from https://github.com/moby/moby/blob/v27.2.0/Dockerfile#L325
source-tag: v0.19.0
source-depth: 1
organize:
Expand Down

0 comments on commit ed27d64

Please sign in to comment.