Compare commits

..

1 Commits

Author SHA1 Message Date
f61728f87b Multi-arch builds 2020-09-11 22:32:14 +01:00

View File

@ -16,7 +16,6 @@ RUN chmod +x /entrypoint.sh
FROM --platform=${TARGETPLATFORM:-linux/amd64} ubuntu:19.10 FROM --platform=${TARGETPLATFORM:-linux/amd64} ubuntu:19.10
USER mega
WORKDIR /home/mega WORKDIR /home/mega
COPY --from=builder /etc/sudoers /etc/sudoers COPY --from=builder /etc/sudoers /etc/sudoers
@ -24,6 +23,7 @@ COPY --from=builder /entrypoint.sh /entrypoint.sh
COPY --from=builder /megacmd.deb /megacmd.deb COPY --from=builder /megacmd.deb /megacmd.deb
RUN apt install -y ./megacmd.deb RUN apt install -y ./megacmd.deb
USER mega
ENV PASSWORD= ENV PASSWORD=
ENV EMAIL= ENV EMAIL=
CMD /entrypoint.sh CMD /entrypoint.sh