Compare commits
6 Commits
95588a25b4
...
master
Author | SHA1 | Date | |
---|---|---|---|
|
f9f00aa576 | ||
|
f916ab30b2 | ||
|
1f335f2c2e | ||
|
53faa49001 | ||
|
57d9ab5709 | ||
5048605ea7 |
@@ -3,6 +3,9 @@ name: publish-images
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
paths:
|
||||
- "Dockerfile*"
|
||||
- "base-packages.txt"
|
||||
schedule:
|
||||
- cron: "0 4 * * 7"
|
||||
|
||||
|
@@ -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 "\
|
||||
|
@@ -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
26
scripts/tbx-helper.sh
Executable 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
|
Reference in New Issue
Block a user