Install docker engine

This commit is contained in:
Gerald Pinder
2024-02-28 21:43:39 -05:00
parent 5ef7da1464
commit 739b9b177a
6 changed files with 17 additions and 10 deletions

View File

@@ -26,7 +26,6 @@ build-image:
parallel: parallel:
matrix: matrix:
- RECIPE: - RECIPE:
- recipe-jp-desktop.yml
- recipe-jp-desktop-gaming.yml - recipe-jp-desktop-gaming.yml
- recipe-jp-laptop.yml - recipe-jp-laptop.yml
- recipe-cp-laptop.yml - recipe-cp-laptop.yml

View File

@@ -1,4 +1,5 @@
modules: modules:
- from-file: docker-engine.yml
- type: script - type: script
scripts: scripts:
- install-mkcert.sh - install-mkcert.sh
@@ -12,7 +13,6 @@ modules:
- cmake - cmake
- virt-manager - virt-manager
- "gcc-c++" - "gcc-c++"
- docker
- earthly - earthly
- kubectl - kubectl
- helm - helm

14
config/docker-engine.yml Normal file
View File

@@ -0,0 +1,14 @@
modules:
- type: rpm-ostree
repos:
- https://download.docker.com/linux/fedora/docker-ce.repo
install:
- docker-ce
- docker-ce-cli
- containerd.io
- docker-buildx-plugin
- docker-compose-plugin
- type: systemd
system:
enabled:
- docker.service

View File

@@ -10,4 +10,4 @@ modules:
- desktop-audio: /usr - desktop-audio: /usr
- from-file: jp-apps.yml - from-file: jp-apps.yml
- from-file: dev-packages.yml - from-file: dev-packages.yml
- from-file: r2modman.yml # - from-file: r2modman.yml

View File

@@ -10,11 +10,5 @@ modules:
- 8bitdo-ultimate: /usr - 8bitdo-ultimate: /usr
- steam-firewall: /usr - steam-firewall: /usr
- desktop-audio: /usr - desktop-audio: /usr
- type: containerfile
snippets:
- COPY --from=registry.gitlab.com/wunker-bunker/xboxdrv-docker /usr/local/bin/xboxdrv /usr/bin/xboxdrv
- COPY --from=registry.gitlab.com/wunker-bunker/xboxdrv-docker /usr/local/bin/xboxdrvctl /usr/bin/xboxdrvctl
- COPY --from=registry.gitlab.com/wunker-bunker/xboxdrv-docker /usr/local/share/man/man1/xboxdrv.1 /usr/share/man/man1/xboxdrv.1
- from-file: jp-apps.yml - from-file: jp-apps.yml
- from-file: dev-packages.yml - from-file: dev-packages.yml
- from-file: r2modman.yml

View File

@@ -11,7 +11,7 @@ VERSION=${LATEST_TAG#v}
echo "Latest version is $VERSION" echo "Latest version is $VERSION"
# Download the latest version of the r2modman package # Download the latest version of the r2modman package
curl -L https://github.com/ebkr/r2modmanPlus/releases/download/v${VERSION}/r2modman-${VERSION}.x86_64.rpm -o r2modman-${VERSION}.x86_64.rpm curl -L0 https://github.com/ebkr/r2modmanPlus/releases/download/v${VERSION}/r2modman-${VERSION}.x86_64.rpm -o r2modman-${VERSION}.x86_64.rpm
# Install the downloaded package # Install the downloaded package
rpm-ostree install r2modman-${VERSION}.x86_64.rpm rpm-ostree install r2modman-${VERSION}.x86_64.rpm