docker/Dockerfile*: Use latest alpine image to fix GUI crashes in the container (#2012)

This commit is contained in:
ps 2020-01-14 07:52:37 +01:00 committed by Itay Cohen
parent 3eeb631c68
commit c07305475b
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
FROM alpine:edge AS builder
FROM alpine:latest AS builder
LABEL maintainer "Philipp Schmied <ps1337@mailbox.org>"
# Prevent build fails because of interactive scripts when compiling
@ -28,7 +28,7 @@ RUN cd /opt/cutter && \
bash build.sh && \
bash -c 'if [[ ! -x "/opt/cutter/build/Cutter" ]]; then exit -1; fi'
FROM alpine:edge AS runner
FROM alpine:latest AS runner
# Add the dependencies we need for running
RUN apk add --no-cache \

View File

@ -1,4 +1,4 @@
FROM alpine:edge AS builder
FROM alpine:latest AS builder
LABEL maintainer "Philipp Schmied <ps1337@mailbox.org>"
# Prevent build fails because of interactive scripts when compiling
@ -36,7 +36,7 @@ COPY src /opt/cutter/src
RUN bash build_cutter.sh && \
bash -c 'if [[ ! -x "/opt/cutter/build/Cutter" ]]; then exit -1; fi'
FROM alpine:edge AS runner
FROM alpine:latest AS runner
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
# Add the dependencies we need for running