Remove qemu-user-static from Dockerfile and update alpine
All checks were successful
continuous-integration/drone/push Build is passing

My build machine now has proper qemu support added, so this is not needed
This commit is contained in:
IamTheFij 2021-05-12 23:22:24 +00:00
parent befea7375f
commit 444d060736

View File

@ -1,15 +1,11 @@
ARG REPO=library
FROM multiarch/qemu-user-static:4.2.0-2 as qemu-user-static
FROM ${REPO}/alpine:3.10
# Copying all qemu files because amd64 doesn't exist and cannot condional copy
COPY --from=qemu-user-static /usr/bin/qemu-* /usr/bin/
FROM ${REPO}/alpine:3.13
RUN mkdir /app
WORKDIR /app/
# Add common checking tools
RUN apk --no-cache add bash=~5.0 curl=~7.66 jq=~1.6
RUN apk --no-cache add bash=~5.1.0 curl=~7.76.1 jq=~1.6
# Add minitor user for running as non-root
RUN addgroup -S minitor && adduser -S minitor -G minitor