Update Dockerfile

This commit is contained in:
Bastian Schroll 2021-02-16 15:06:18 +01:00 committed by GitHub
parent a74f28150d
commit 99859f961c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
FROM alpine:3.10 AS build-base FROM alpine:3.13 AS build-base
RUN apk add git make cmake g++ libusb-dev libpulse RUN apk add git make cmake g++ libusb-dev libpulse
FROM build-base AS rtl_fm FROM build-base AS rtl_fm
@ -8,18 +8,18 @@ WORKDIR /opt/rtl_sdr/build
RUN cmake .. && make RUN cmake .. && make
FROM build-base AS multimon FROM build-base AS multimon
ARG MULTIMON_VERSION=1.1.8 ARG MULTIMON_VERSION=1.1.9
RUN git clone --depth 1 --branch ${MULTIMON_VERSION} https://github.com/EliasOenal/multimon-ng.git /opt/multimon RUN git clone --depth 1 --branch ${MULTIMON_VERSION} https://github.com/EliasOenal/multimon-ng.git /opt/multimon
WORKDIR /opt/multimon/build WORKDIR /opt/multimon/build
RUN cmake .. && make RUN cmake .. && make
FROM alpine:3.10 AS boswatch FROM alpine:3.13 AS boswatch
ARG BW_VERSION=develop ARG BW_VERSION=develop
RUN apk add git && \ RUN apk add git && \
git clone --depth 1 --branch ${BW_VERSION} https://github.com/BOSWatch/BW3-Core.git /opt/boswatch git clone --depth 1 --branch ${BW_VERSION} https://github.com/BOSWatch/BW3-Core.git /opt/boswatch
FROM python:3.6-alpine AS runner FROM python:3.9.1-alpine AS runner
LABEL maintainer="bastian@schroll-software.de" LABEL maintainer="bastian@schroll-software.de"
# for RTL for MM # for RTL for MM
@ -28,4 +28,4 @@ RUN apk add libusb-dev libpulse && \
COPY --from=boswatch /opt/boswatch/ /opt/boswatch/ COPY --from=boswatch /opt/boswatch/ /opt/boswatch/
COPY --from=multimon /opt/multimon/build/multimon-ng /opt/multimon/multimon-ng COPY --from=multimon /opt/multimon/build/multimon-ng /opt/multimon/multimon-ng
COPY --from=rtl_fm /opt/rtl_sdr/build/src/ /opt/rtl_sdr/build/src/ COPY --from=rtl_fm /opt/rtl_sdr/build/src/ /opt/rtl_sdr/build/src/