moving everything to active or retired vs incubating and graduated
All checks were successful
Reese's Arch Toolbox / build-and-push-arch-toolbox (push) Successful in 14s
All checks were successful
Reese's Arch Toolbox / build-and-push-arch-toolbox (push) Successful in 14s
This commit is contained in:
30
active/software_distoolbox/arch-build.sh
Executable file
30
active/software_distoolbox/arch-build.sh
Executable file
@@ -0,0 +1,30 @@
|
||||
#!/bin/bash
|
||||
|
||||
COMMAND_PREFIX=""
|
||||
|
||||
# If you haven't already, read up on setting the docker context to use podman as the backend.
|
||||
# TL;DR
|
||||
# systemctl --user enable --now podman.socket
|
||||
# docker context create podman --docker host=unix://$XDG_RUNTIME_DIR/podman/podman.sock
|
||||
# docker context use podman
|
||||
|
||||
export DEBUG_TAG="debug-$(date +"%s")"
|
||||
|
||||
podman image pull podman.io/archlinux:latest
|
||||
|
||||
# Run the build for the CPU image
|
||||
podman build \
|
||||
-t gitea.reeseapps.com/services/arch-toolbox:$DEBUG_TAG \
|
||||
-f ./active/software_distoolbox/arch-toolbox.containerfile \
|
||||
--target cpu \
|
||||
--load \
|
||||
--no-cache \
|
||||
./active/software_distoolbox
|
||||
|
||||
# Run the build for the AMD gpu image
|
||||
podman build \
|
||||
-t gitea.reeseapps.com/services/arch-toolbox-amdgpu:$DEBUG_TAG \
|
||||
-f ./active/software_distoolbox/arch-toolbox.containerfile \
|
||||
--target amdgpu \
|
||||
--load \
|
||||
.active/software_distoolbox
|
||||
Reference in New Issue
Block a user