FROM alpine:edge LABEL maintainer="Mike Crute " COPY handbrake-1.0.7-r5.apk /tmp/ RUN \ echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories; \ apk --no-cache add su-exec dumb-init sg3_utils; \ apk --no-cache --allow-untrusted add /tmp/handbrake-1.0.7-r5.apk; \ addgroup -g 1000 -S alpine; \ adduser -u 1000 -S -H -D -G alpine alpine; \ addgroup alpine cdrom; \ rm -rf /root/.cache /tmp/*; ADD rip_dvd.sh /usr/bin/ ADD entrypoint.sh / ENTRYPOINT ["/entrypoint.sh"] CMD ["/sbin/su-exec", "alpine", "/usr/bin/rip_dvd.sh"]