testing
This commit is contained in:
parent
2dd7cd5ad0
commit
7346a45d3e
1 changed files with 5 additions and 9 deletions
|
|
@ -11,15 +11,11 @@ WORKDIR /tmp
|
|||
|
||||
RUN dnf install -y wget
|
||||
RUN \
|
||||
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 \
|
||||
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}"; \
|
||||
exit 1; \
|
||||
fi
|
||||
|
||||
case ${TARGETARCH} in \
|
||||
"amd64") DOWNLOAD_ARCH=amd64 ;; \
|
||||
"arm64") DOWNLOAD_ARCH=aarch64 ;; \
|
||||
esac \
|
||||
&& wget -O /tmp/openlens.rpm https://github.com/MuhammedKalkan/OpenLens/releases/download/v6.5.2-366/OpenLens-6.5.2-366.${DOWNLOAD_ARCH}.rpm
|
||||
RUN \
|
||||
echo "**** install packages ****" && \
|
||||
rpm --import https://packages.microsoft.com/keys/microsoft.asc && \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue