Skip to content

Commit

Permalink
add builder containers
Browse files Browse the repository at this point in the history
  • Loading branch information
nakarma committed Jul 12, 2024
1 parent 75df5a8 commit ea434b6
Show file tree
Hide file tree
Showing 7 changed files with 99 additions and 0 deletions.
13 changes: 13 additions & 0 deletions rpios-builder-media/Containerfile.arm64
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM ghcr.io/nakarma/containers/rpios-builder:arm64-latest

ENV DEBIAN_FRONTEND noninteractive

RUN apt update \
&& apt -y full-upgrade \
&& apt -y install libsdl*dev \
&& apt -y build-dep mesa \
&& apt-get -y --purge autoremove \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

CMD ["bash"]
13 changes: 13 additions & 0 deletions rpios-builder-media/Containerfile.armhf
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM ghcr.io/nakarma/containers/rpios-builder:armhf-latest

ENV DEBIAN_FRONTEND noninteractive

RUN apt update \
&& apt -y full-upgrade \
&& apt -y install libsdl*dev \
&& apt -y build-dep mesa \
&& apt-get -y --purge autoremove \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

CMD ["bash"]
24 changes: 24 additions & 0 deletions rpios-builder-media/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/bin/bash

IMAGE=${PWD##*/}
REGISTRY=ghcr.io/nakarma/containers/

BUILD() {
podman build -t $REGISTRY$IMAGE:$ARCH-latest -f $1
}

case "$1" in
armhf)
ARCH=armhf
BUILD ./Containerfile.armhf
;;
arm64)
ARCH=arm64
BUILD ./Containerfile.arm64
;;
*)
echo ""
echo "Usage: $(basename $0) {armhf|arm64}"
echo ""
;;
esac
12 changes: 12 additions & 0 deletions rpios-builder/Containerfile.arm64
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM ghcr.io/nakarma/containers/rpios-base:arm64-latest

ENV DEBIAN_FRONTEND noninteractive

RUN apt update \
&& apt -y full-upgrade \
&& apt -y install build-essential neovim git subversion fakeroot autoconf automake \
&& apt-get -y --purge autoremove \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

CMD ["bash"]
12 changes: 12 additions & 0 deletions rpios-builder/Containerfile.armhf
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM ghcr.io/nakarma/containers/rpios-base:armhf-latest

ENV DEBIAN_FRONTEND noninteractive

RUN apt update \
&& apt -y full-upgrade \
&& apt -y install build-essential neovim git subversion fakeroot autoconf automake \
&& apt-get -y --purge autoremove \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

CMD ["bash"]
24 changes: 24 additions & 0 deletions rpios-builder/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/bin/bash

IMAGE=${PWD##*/}
REGISTRY=ghcr.io/nakarma/containers/

BUILD() {
podman build -t $REGISTRY$IMAGE:$ARCH-latest -f $1
}

case "$1" in
armhf)
ARCH=armhf
BUILD ./Containerfile.armhf
;;
arm64)
ARCH=arm64
BUILD ./Containerfile.arm64
;;
*)
echo ""
echo "Usage: $(basename $0) {armhf|arm64}"
echo ""
;;
esac
1 change: 1 addition & 0 deletions rpios-gnome/Containerfile.arm64
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ ENV DEBIAN_FRONTEND noninteractive
RUN apt update \
&& apt -y full-upgrade \
&& apt-get -y --no-install-recommends install \
bluez bluez-firmware bluez-obexd \
dbus systemd systemd-sysv cron anacron ecryptfs-utils \
desktop-base gdm3 gnome-session gnome-shell \
gnome-terminal gnome-shell-extensions gnome-shell-extensions-extra \
Expand Down

0 comments on commit ea434b6

Please sign in to comment.