mirror of
https://github.com/get-aurora-dev/common.git
synced 2026-11-03 21:49:43 -09:00
feat: FROM bluefin
This commit is contained in:
parent
540d73e4e2
commit
1eb84761f8
3 changed files with 15 additions and 18 deletions
14
.gitignore
vendored
14
.gitignore
vendored
|
|
@ -1,13 +1 @@
|
|||
*.iso
|
||||
*.iso-CHECKSUM
|
||||
flatpaks_with_deps
|
||||
flatpak.*
|
||||
|
||||
*_build
|
||||
*_build.*
|
||||
previous.manifest.json
|
||||
changelog.md
|
||||
output.env
|
||||
version.txt
|
||||
|
||||
devcontainer
|
||||
dump
|
||||
|
|
|
|||
|
|
@ -18,11 +18,8 @@ RUN set -xeuo pipefail && \
|
|||
rm -rf /wallpapers
|
||||
|
||||
FROM scratch AS ctx
|
||||
|
||||
COPY --from=ghcr.io/projectbluefin/common:latest /system_files/shared /system_files/shared
|
||||
COPY --from=builder /output/ /wallpapers
|
||||
|
||||
COPY /brew /brew
|
||||
COPY /flatpaks /flatpaks
|
||||
COPY /just /just
|
||||
COPY /logos /logos
|
||||
COPY /system_files /system_files
|
||||
|
|
|
|||
14
Justfile
14
Justfile
|
|
@ -1,8 +1,10 @@
|
|||
just := just_executable()
|
||||
|
||||
# Not a buildsystem, only convenience commands
|
||||
|
||||
# Build the aurora-common container locally
|
||||
build:
|
||||
buildah build -t localhost/aurora-common:latest -f ./Containerfile .
|
||||
podman build -t localhost/aurora-common:latest -f ./Containerfile .
|
||||
|
||||
# Check the syntax of all Justfiles in the repository
|
||||
check:
|
||||
|
|
@ -34,3 +36,13 @@ tree IMAGE="localhost/aurora-common:latest":
|
|||
podman run --rm tree-temp
|
||||
rm TreeContainerfile
|
||||
podman rmi tree-temp
|
||||
|
||||
dump IMAGE="localhost/aurora-common:latest":
|
||||
#!/usr/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
cid=$(podman create {{ IMAGE }})
|
||||
echo "Created container $cid from {{ IMAGE }}"
|
||||
mkdir -p dump
|
||||
podman cp "$cid:/." dump/
|
||||
podman rm "$cid"
|
||||
|
|
|
|||
Loading…
Reference in a new issue