Skip to content

Commit

Permalink
Merge pull request #100 from toolbx-images/alpine-319
Browse files Browse the repository at this point in the history
  • Loading branch information
travier committed Dec 4, 2023
2 parents bbb82b0 + a2adf1e commit 4cc8498
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/alpine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ concurrency: ${{ github.workflow }}
env:
distro: 'alpine'
distro_pretty: 'Alpine Linux'
latest_release: '3.18'
latest_release: '3.19'

jobs:
build-and-push-images:
strategy:
matrix:
release: ['3.16', '3.17', '3.18', 'edge']
release: ['3.16', '3.17', '3.18', '3.19', 'edge']

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

LABEL com.github.containers.toolbox="true" \
name="alpine-toolbox" \
version="3.19" \
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

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

# Clear out /media
RUN rm -rf /media
37 changes: 37 additions & 0 deletions alpine/3.19/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

0 comments on commit 4cc8498

Please sign in to comment.