Compare commits

..

1 Commits

Author SHA1 Message Date
8632a6efcd Multi-arch builds 2020-09-11 22:29:24 +01:00

View File

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