Skip to content

Commit

Permalink
Add Docker 26.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
olljanat committed Apr 12, 2024
1 parent b590bdc commit 4bc53b6
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 0 deletions.
21 changes: 21 additions & 0 deletions d/docker-26.0.1.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
docker:
image: ${REGISTRY_DOMAIN}/burmilla/os-docker:26.0.1${SUFFIX}
command: ros user-docker
environment:
- HTTP_PROXY
- HTTPS_PROXY
- NO_PROXY
labels:
io.rancher.os.scope: system
io.rancher.os.after: console
net: host
pid: host
ipc: host
uts: host
privileged: true
restart: always
volumes_from:
- all-volumes
volumes:
- /sys:/host/sys
- /var/lib/system-docker:/var/lib/system-docker:shared
2 changes: 2 additions & 0 deletions images/10-docker-26.0.1/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
FROM scratch
COPY engine /engine
20 changes: 20 additions & 0 deletions images/10-docker-26.0.1/prebuild.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/bin/bash
set -ex

VERSION=$1
ARCH=$2
if [ "$ARCH" == "amd64" ]; then
DOCKERARCH="x86_64"
URL="https://download.docker.com/linux/static/stable/${DOCKERARCH}/docker-${VERSION}.tgz"
#ROOTLESS_URL="https://download.docker.com/linux/static/stable/${DOCKERARCH}/docker-rootless-extras-${VERSION}.tgz"
COMPLETION_URL="https://raw.githubusercontent.com/docker/cli/v${VERSION}/contrib/completion/bash/docker"
fi

DEST="./images/10-docker-${VERSION}${SUFFIX}"

mkdir -p $DEST
curl -sL ${URL} | tar xzf - -C $DEST
#curl -sL ${ROOTLESS_URL} | tar xzf - -C $DEST
curl -sL -o $DEST/docker/completion ${COMPLETION_URL}
mv $DEST/docker $DEST/engine
#mv $DEST/docker-rootless-extras/* $DEST/engine
1 change: 1 addition & 0 deletions index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ engines:
- docker-23.0.6
- docker-24.0.9
- docker-25.0.3
- docker-26.0.1

0 comments on commit 4bc53b6

Please sign in to comment.