Skip to content

Commit

Permalink
testing variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Trip committed Oct 3, 2023
1 parent 0b4173e commit 7fca128
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions xfce/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ WORKDIR /tmp

RUN \
dnf install -y wget && \
if [ "$TARGETARCH" == "amd64" ]; then \
if [ "${TARGETARCH}" == "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 [ "$TARGETARCH" == "arm64" ]; then \
elif [ "${TARGETARCH}" == "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 architecture: $TARGETARCH"; \
echo "Unsupported architecture: ${TARGETARCH}"; \
exit 1; \
fi

Expand All @@ -26,7 +26,7 @@ RUN \
rpm --import https://packages.microsoft.com/keys/microsoft.asc && \
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 && \
echo "Install and download k9s" && \
wget -o /tmp/k9s.tar.gz https://github.com/derailed/k9s/releases/download/v0.27.4/k9s_Linux_$TARGETARCH.tar.gz && \
wget -o /tmp/k9s.tar.gz https://github.com/derailed/k9s/releases/download/v0.27.4/k9s_Linux_${TARGETARCH}.tar.gz && \
dnf install -y --setopt=install_weak_deps=False --best \
terminator \
tilix \
Expand Down

0 comments on commit 7fca128

Please sign in to comment.