Compare commits

...

7 Commits

Author SHA1 Message Date
Torjus Håkestad
f9f00aa576 Add file and openssl
All checks were successful
publish-images / publish-vscode (push) Successful in 12m6s
2024-02-05 15:09:18 +01:00
Torjus Håkestad
f916ab30b2 Add some more required packages
All checks were successful
publish-images / publish-vscode (push) Successful in 12m0s
2024-02-05 12:27:28 +01:00
Torjus Håkestad
1f335f2c2e Add mlocate package
All checks were successful
publish-images / publish-vscode (push) Successful in 10m49s
2024-02-05 12:23:44 +01:00
Torjus Håkestad
53faa49001 Add helper script 2024-02-05 12:19:07 +01:00
Torjus Håkestad
57d9ab5709 Update workflow to only rebuild images when changed 2024-02-05 12:18:41 +01:00
5048605ea7 Move LABEL step to final container
All checks were successful
publish-images / publish-vscode (push) Successful in 10m35s
2024-02-02 03:15:00 +01:00
95588a25b4 Merge pull request 'Use fedora:latest as base image' (#1) from fedora-base-image into master
All checks were successful
publish-images / publish-vscode (push) Successful in 11m9s
Reviewed-on: #1
2024-02-02 02:00:15 +00:00
4 changed files with 38 additions and 2 deletions

View File

@@ -3,6 +3,9 @@ name: publish-images
on:
push:
branches: [ master ]
paths:
- "Dockerfile*"
- "base-packages.txt"
schedule:
- cron: "0 4 * * 7"

View File

@@ -1,5 +1,4 @@
FROM fedora:latest as base
LABEL com.github.containers.toolbox="true"
# Install base packages
COPY base-packages.txt /
@@ -13,6 +12,8 @@ FROM scratch as squashed
COPY --from=base / /
FROM squashed
LABEL com.github.containers.toolbox="true"
# Install vscode repo
RUN rpm --import https://packages.microsoft.com/keys/microsoft.asc
RUN echo -e "\

View File

@@ -3,10 +3,13 @@ bzip2
cracklib-dicts
diffutils
dnf-plugins-core
file
findutils
flatpak-spawn
fpaste
git
glibc-all-langpacks
glibc-locale-source
gnupg2
gnupg2-smime
gvfs-client
@@ -17,11 +20,14 @@ keyutils
krb5-libs
less
lsof
man-db
mesa-dri-drivers
mesa-vulkan-drivers
mlocate
mtr
nss-mdns
openssh-clients
openssl
passwd
pigz
procps-ng
@@ -43,4 +49,4 @@ whois
words
xorg-x11-xauth
xz
zip
zip

26
scripts/tbx-helper.sh Executable file
View File

@@ -0,0 +1,26 @@
#!/bin/sh
usage() {
echo "Usage: $0 COMMAND"
echo ""
echo "Available commands:"
echo "pull-images Pull all known toolbox images"
}
pull_images() {
podman pull git.t-juice.club/torjus/toolboxes/vscode:latest
}
if [ $# != 1 ]; then
usage
exit 1
fi
case "$1" in
pull-images)
pull_images
;;
*)
usage
;;
esac