server/fickit-pkg/mariadb-client/Dockerfile

11 lines
251 B
Docker
Raw Normal View History

2019-01-17 08:16:20 +00:00
FROM alpine AS mirror
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
RUN apk add --no-cache --initdb -p /out \
mariadb-client \
busybox
RUN rm -rf /out/etc/apk /out/lib/apk /out/var/cache
FROM scratch
COPY --from=mirror /out/ /