changed images to support multi arch, but not activating it at the moment

Signed-off-by: Michael Trip <m.trip@atcomputing.nl>
This commit is contained in:
Michael Trip 2023-10-03 20:20:22 +02:00
parent 5e4c97ed0e
commit e0071d4efc
3 changed files with 16 additions and 15 deletions

View file

@ -2,14 +2,15 @@ FROM ghcr.io/linuxserver/rdesktop:ubuntu-mate
# set version label
ARG BUILD_DATE
# ARG BUILDARCH
# ARG TARGETARCH
ARG TARGETARCH
ARG VERSION
LABEL build_version="based on Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="Michael Trip"
WORKDIR /tmp
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y wget
RUN wget -o /tmp/openlens.deb https://github.com/MuhammedKalkan/OpenLens/releases/download/v6.5.2-366/OpenLens-6.5.2-366.$TARGETARCH.deb
RUN wget -o /tmp/k9s.tar.gz https://github.com/derailed/k9s/releases/download/v0.27.4/k9s_Linux_$TARGETARCH.tar.gz
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y curl wget
RUN curl -L https://github.com/MuhammedKalkan/OpenLens/releases/download/v6.5.2-366/OpenLens-6.5.2-366.${TARGETARCH}.deb --output /tmp/openlens.deb
RUN curl -L https://github.com/derailed/k9s/releases/download/v0.27.4/k9s_Linux_${TARGETARCH}.tar.gz --output /tmp/k9s.tar.gz
RUN \
echo "**** install packages ****" && \
apt update && \