This commit is contained in:
Michael Trip 2023-10-03 17:11:14 +02:00
parent 74813250a6
commit 0b4173e5c9

View file

@ -12,9 +12,9 @@ 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"; \