Skip to content

Commit

Permalink
Build images as they were before
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanabx committed Feb 22, 2024
1 parent 95fa499 commit 1cde790
Show file tree
Hide file tree
Showing 7 changed files with 90 additions and 205 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
name: build_images
on:
workflow_run:
workflows: ['compile']
types: [completed]
workflow_dispatch:

env:
Expand Down
161 changes: 0 additions & 161 deletions .github/workflows/compile.yml

This file was deleted.

30 changes: 0 additions & 30 deletions containers/cosmic-desktop-compiled/Containerfile

This file was deleted.

5 changes: 0 additions & 5 deletions containers/cosmic-desktop-compiled/desc.yml

This file was deleted.

32 changes: 30 additions & 2 deletions containers/fedora-cosmic-atomic-silverblue-40/Containerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,36 @@
ARG IMAGE_MAJOR_VERSION=40
ARG BASE_IMAGE_URL=quay.io/fedora/fedora-silverblue
ARG COMPILED_COSMIC=ghcr.io/ryanabx/cosmic-desktop-compiled

FROM COMPILED_COSMIC as cosmic-compiled
FROM registry.fedoraproject.org/fedora:40 as cosmic-compiled

RUN dnf update -y
RUN dnf install -y git \
make \
which \
just \
rustc \
libglvnd-devel \
libseat-devel \
libxkbcommon-devel \
lld \
libinput-devel \
glib2-devel \
gtk3-devel \
dbus-devel \
wayland-devel \
clang-devel \
cargo \
mesa-libgbm-devel \
pipewire-devel \
pam-devel \
flatpak-devel \
rust-rav1e+nasm-rs-devel
RUN git clone --recurse-submodules https://github.com/pop-os/cosmic-epoch
# This is where the magic happens
RUN cd cosmic-epoch && git submodule update --remote && just sysext && rm -rf cosmic-sysext/usr/lib/extension-release.d && cd ..

RUN git clone --recurse-submodules https://github.com/pop-os/launcher
RUN cd launcher && just build-release && cd ..

FROM ${BASE_IMAGE_URL}:${IMAGE_MAJOR_VERSION}

Expand Down
32 changes: 30 additions & 2 deletions containers/fedora-cosmic-atomic-silverblue/Containerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,36 @@
ARG IMAGE_MAJOR_VERSION=39
ARG BASE_IMAGE_URL=quay.io/fedora/fedora-silverblue
ARG COMPILED_COSMIC=ghcr.io/ryanabx/cosmic-desktop-compiled

FROM COMPILED_COSMIC as cosmic-compiled
FROM registry.fedoraproject.org/fedora:39 as cosmic-compiled

RUN dnf update -y
RUN dnf install -y git \
make \
which \
just \
rustc \
libglvnd-devel \
libseat-devel \
libxkbcommon-devel \
lld \
libinput-devel \
glib2-devel \
gtk3-devel \
dbus-devel \
wayland-devel \
clang-devel \
cargo \
mesa-libgbm-devel \
pipewire-devel \
pam-devel \
flatpak-devel \
rust-rav1e+nasm-rs-devel
RUN git clone --recurse-submodules https://github.com/pop-os/cosmic-epoch
# This is where the magic happens
RUN cd cosmic-epoch && git submodule update --remote && just sysext && rm -rf cosmic-sysext/usr/lib/extension-release.d && cd ..

RUN git clone --recurse-submodules https://github.com/pop-os/launcher
RUN cd launcher && just build-release && cd ..

FROM ${BASE_IMAGE_URL}:${IMAGE_MAJOR_VERSION}

Expand Down
32 changes: 30 additions & 2 deletions containers/fedora-cosmic-atomic/Containerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,36 @@
ARG IMAGE_MAJOR_VERSION=39
ARG BASE_IMAGE_URL=quay.io/fedora-ostree-desktops/base
ARG COMPILED_COSMIC=ghcr.io/ryanabx/cosmic-desktop-compiled

FROM COMPILED_COSMIC as cosmic-compiled
FROM registry.fedoraproject.org/fedora:39 as cosmic-compiled

RUN dnf update -y
RUN dnf install -y git \
make \
which \
just \
rustc \
libglvnd-devel \
libseat-devel \
libxkbcommon-devel \
lld \
libinput-devel \
glib2-devel \
gtk3-devel \
dbus-devel \
wayland-devel \
clang-devel \
cargo \
mesa-libgbm-devel \
pipewire-devel \
pam-devel \
flatpak-devel \
rust-rav1e+nasm-rs-devel
RUN git clone --recurse-submodules https://github.com/pop-os/cosmic-epoch
# This is where the magic happens
RUN cd cosmic-epoch && git submodule update --remote && just sysext && rm -rf cosmic-sysext/usr/lib/extension-release.d && cd ..

RUN git clone --recurse-submodules https://github.com/pop-os/launcher
RUN cd launcher && just build-release && cd ..

FROM ${BASE_IMAGE_URL}:${IMAGE_MAJOR_VERSION}

Expand Down

0 comments on commit 1cde790

Please sign in to comment.