Skip to content

Commit

Permalink
chore: add docker
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfyreload committed Jun 7, 2024
1 parent ccd9175 commit 8f44b17
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ RUN mkdir -p /var/lib/alternatives && \
/tmp/build.sh && \
ostree container commit

# enable but don't start docker service socket
RUN systemctl enable docker.socket
RUN ostree container commit
## NOTES:
# - /var/lib/alternatives is required to prevent failure with some RPM installs
# - All RUN commands must end with ostree container commit
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ This is my own custom Universal Blue image, that is based off of the bazzite-nvi
- **gnome-disk-utility** - Needed for auto mounting disks from a GUI
- **OpenSnitch** - custom outbound firewall
- **gnome-system-monitor** - The KDE system monitor is not great at all
- **docker** - I would like to use either docker or podman, it's nice to have the choice

# VM Image

Expand Down
7 changes: 7 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@ rpm-ostree install \
/tmp/opensnitch.rpm \
/tmp/opensnitch-ui.rpm
sudo systemctl enable opensnitch.service

# Install docker
rpm-ostree install docker-ce \
docker-ce-cli \
docker-buildx-plugin \
docker-compose-plugin \
containerd.io

#### Example for enabling a System Unit File

Expand Down
6 changes: 6 additions & 0 deletions system_files/etc/yum.repos.d/docker-ce.repo
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[docker-ce-stable]
name=Docker CE Stable - $basearch
baseurl=https://download.docker.com/linux/fedora/$releasever/$basearch/stable
enabled=1
gpgcheck=1
gpgkey=https://download.docker.com/linux/fedora/gpg

0 comments on commit 8f44b17

Please sign in to comment.