Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ARG TARGETPLATFORM
ARG TARGETARCH
ARG TARGETVARIANT

ARG OSCAR_VERSION=1.6.1
ARG OSCAR_VERSION=1.7.0

RUN printf '%s' "Building for TARGETPLATFORM=${TARGETPLATFORM}" \
&& printf '%s' ", TARGETARCH=${TARGETARCH}" \
Expand All @@ -14,9 +14,9 @@ RUN apt-get update -y && \
apt-get install -y --no-install-recommends wget cron

RUN if [ "${TARGETARCH}" = "arm64" ]; then \
wget -q -O /tmp/oscar.deb https://www.apneaboard.com/OSCAR/${OSCAR_VERSION}/oscar_${OSCAR_VERSION}-RasPiOS-12_arm64.deb; \
else \
wget -q -O /tmp/oscar.deb https://www.apneaboard.com/OSCAR/${OSCAR_VERSION}/oscar_${OSCAR_VERSION}-Debian12_amd64.deb; \
wget -q -O /tmp/oscar.deb https://www.sleepfiles.com/OSCAR/${OSCAR_VERSION}/oscar_${OSCAR_VERSION}-RasPiOS-12_arm64-Qt5.deb; \
else \
wget -q -O /tmp/oscar.deb https://www.sleepfiles.com/OSCAR/${OSCAR_VERSION}/oscar_${OSCAR_VERSION}-Debian12_amd64-Qt5.deb; \
fi

RUN apt install -y /tmp/oscar.deb && \
Expand Down
Loading