This commit is contained in:
Michael Trip 2023-10-03 16:50:04 +02:00
parent 1e250e352b
commit 62ec96edfa
2 changed files with 3 additions and 5 deletions

View file

@ -89,10 +89,6 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup qemu
uses: docker/setup-qemu-action@v2
with:
platforms: 'arm64,amd64'
# Workaround: https://github.com/docker/build-push-action/issues/461
- name: Setup Docker buildx
uses: docker/setup-buildx-action@v2

View file

@ -3,6 +3,8 @@ FROM docker.io/linuxserver/rdesktop:fedora-mate
# set version label
ARG BUILD_DATE
ARG VERSION
ARG BUILDARCH
LABEL build_version="based on Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="Michael Trip"
WORKDIR /tmp
@ -12,7 +14,7 @@ RUN \
echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/vscode.repo && \
dnf install -y wget && \
echo "Install and download OpenLens" && \
if [ "$BUILDARCH" = "amd64" ]; then wget -O https://github.com/MuhammedKalkan/OpenLens/releases/download/v6.5.2-366/OpenLens-6.5.2-366.x86_64.rpm; elif [ "$BUILDARCH" = "arm64" ]; then wget -O https://github.com/MuhammedKalkan/OpenLens/releases/download/v6.5.2-366/OpenLens-6.5.2-366.aarch64.rpm; fi && \
if [ "$BUILDARCH" = "amd64" ]; then wget -O /tmp/openlens.rpm https://github.com/MuhammedKalkan/OpenLens/releases/download/v6.5.2-366/OpenLens-6.5.2-366.x86_64.rpm; elif [ "$BUILDARCH" = "arm64" ]; then wget -O /tmp/openlens.rpm https://github.com/MuhammedKalkan/OpenLens/releases/download/v6.5.2-366/OpenLens-6.5.2-366.aarch64.rpm; else echo "Unsupported"; exit 1; fi && \
echo "Install and download k9s" && \
wget https://github.com/derailed/k9s/releases/download/v0.27.4/k9s_Linux_$BUILDARCH.tar.gz && \
dnf install -y --setopt=install_weak_deps=False --best \