Skip to content

Commit

Permalink
Merge pull request #139 from toolbx-images/alpine-3.21
Browse files Browse the repository at this point in the history
alpine: add 3.21
  • Loading branch information
Foxboron authored Dec 10, 2024
2 parents bb31310 + dd8999d commit 63383b1
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/alpine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ on:
env:
distro: 'alpine'
distro_pretty: 'Alpine Linux'
latest_release: '3.20'
latest_release: '3.21'
platforms: 'linux/amd64, linux/arm64'
registry: 'quay.io/toolbx-images'

Expand All @@ -36,7 +36,7 @@ jobs:
build-push-images:
strategy:
matrix:
release: ['3.18', '3.19', '3.20', 'edge']
release: ['3.18', '3.19', '3.20', '3.21', 'edge']

runs-on: ubuntu-24.04
steps:
Expand Down
21 changes: 21 additions & 0 deletions alpine/3.21/Containerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
FROM docker.io/library/alpine:3.21

LABEL com.github.containers.toolbox="true" \
name="alpine-toolbox" \
version="3.21" \
usage="This image is meant to be used with the toolbox command" \
summary="Base image for creating Alpine Linux toolbox containers" \
maintainer="Jorge O. Castro <jorge.castro@gmail.com>"

# Install extra packages
COPY extra-packages /
RUN apk update && \
apk upgrade && \
cat /extra-packages | xargs apk add
RUN rm /extra-packages

# Enable password less sudo
RUN echo "%wheel ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/toolbox

# Clear out /media
RUN rm -rf /media
37 changes: 37 additions & 0 deletions alpine/3.21/extra-packages
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
alpine-base
bash
bash-completion
bc
bzip2
coreutils
curl
diffutils
docs
findutils
gcompat
git
gnupg
iproute2
iputils
keyutils
less
libcap
man-pages
mandoc
musl-utils
ncurses-terminfo
net-tools
openssh-client
procps
rsync
shadow
sudo
tar
tcpdump
tree
unzip
util-linux
wget
which
xz
zip
3 changes: 0 additions & 3 deletions alpine/edge/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,5 @@ RUN rm /extra-packages
# Enable password less sudo
RUN echo "%wheel ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/toolbox

# Copy the os-release file
RUN cp -p /etc/os-release /usr/lib/os-release

# Clear out /media
RUN rm -rf /media

0 comments on commit 63383b1

Please sign in to comment.