Skip to content

Commit

Permalink
add customize image for docker
Browse files Browse the repository at this point in the history
  • Loading branch information
freitasgst committed Sep 5, 2024
1 parent 2df7c61 commit e9f4f4b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:

strategy:
matrix:
variant: [qemu]
variant: [qemu, qemu-docker]

steps:
- name: Checkout
Expand Down
13 changes: 13 additions & 0 deletions customize-qemu-docker.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env bash

# Add Docker's official GPG key
curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc

# Add Docker's official repository to Apt sources
cat > /etc/apt/sources.list.d/docker.list <<-EOF
deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian $(lsb_release -cs) stable
EOF

# Install packages
apt-get --yes update
apt-get --yes install qemu-guest-agent htop docker-ce

0 comments on commit e9f4f4b

Please sign in to comment.