Skip to content

Commit

Permalink
chore: prune unused packages
Browse files Browse the repository at this point in the history
  • Loading branch information
p5 authored Nov 1, 2024
1 parent 7336450 commit 3ddd6f8
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 46 deletions.
11 changes: 0 additions & 11 deletions lumina/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,6 @@ ARG BASE_TAG=40
ARG FEDORA_VERSION=${BASE_TAG}


# TODO: Move this to the COPR and install as an RPM
FROM golang:1.21 AS tc-redirect-tap-build

RUN git clone https://github.com/awslabs/tc-redirect-tap.git --depth 1 /tmp/tc-redirect-tap && \
cd /tmp/tc-redirect-tap && \
CGOENABLED=0 GOOS=linux GOARCH=amd64 go build -o bin/tc-redirect-tap-amd64 ./cmd/tc-redirect-tap && \
CGOENABLED=0 GOOS=linux GOARCH=arm64 go build -o bin/tc-redirect-tap-arm64 ./cmd/tc-redirect-tap


FROM ${BASE_REGISTRY}:${BASE_TAG}

ARG FEDORA_VERSION
Expand All @@ -22,8 +13,6 @@ COPY files/_base /
COPY files/_${BASE_IMAGE} /
COPY scripts/ /tmp/scripts/

COPY --from=tc-redirect-tap-build /tmp/tc-redirect-tap/bin/tc-redirect-tap-amd64 /usr/cni/bin/tc-redirect-tap

RUN chmod +x /tmp/scripts/*.sh /tmp/scripts/*.sh /tmp/scripts/_${BASE_IMAGE}/*.sh && \
/tmp/scripts/setup.sh --base ${BASE_IMAGE} && \
/tmp/scripts/cleanup.sh --base ${BASE_IMAGE} \
Expand Down
10 changes: 0 additions & 10 deletions lumina/scripts/_base/007-install-development-tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,11 @@ EOF
# Install development tools
rpm-ostree install \
code \
$(curl https://api.github.com/repos/wagoodman/dive/releases/latest | jq -r '.assets[] | select(.name| test(".*_linux_amd64.rpm$")).browser_download_url') \
gh \
git-credential-oauth

curl -Lo /tmp/devbox https://releases.jetpack.io/devbox
install -c -m 0755 /tmp/devbox /usr/bin/devbox

# Install Zed IDE
curl -Lo /tmp/zed.tar.gz https://zed.dev/api/releases/stable/latest/zed-linux-x86_64.tar.gz
mkdir -p /usr/lib/zed.app/
tar -xvf /tmp/zed.tar.gz -C /usr/lib/zed.app/ --strip-components=1
ln -s /usr/lib/zed.app/bin/zed /usr/bin/zed
cp /usr/lib/zed.app/share/applications/zed.desktop /usr/share/applications/dev.zed.Zed.desktop
sed -i "s|Icon=zed|Icon=/usr/lib/zed.app/share/icons/hicolor/512x512/apps/zed.png|g" /usr/share/applications/dev.zed.Zed.desktop
sed -i "s|Exec=zed|Exec=/usr/lib/zed.app/libexec/zed-editor|g" /usr/share/applications/dev.zed.Zed.desktop

rm -f /etc/yum.repos.d/github.repo
rm -f /etc/yum.repos.d/vscode.repo
20 changes: 0 additions & 20 deletions lumina/scripts/_base/015-firecracker.sh

This file was deleted.

5 changes: 0 additions & 5 deletions lumina/scripts/_base/016-wireguard.sh

This file was deleted.

0 comments on commit 3ddd6f8

Please sign in to comment.