This commit is contained in:
21
Dockerfile
Normal file
21
Dockerfile
Normal file
@@ -0,0 +1,21 @@
|
||||
FROM archlinux:base-devel
|
||||
|
||||
RUN pacman-key --init && pacman-key --populate
|
||||
RUN pacman -Syu --needed --noconfirm minio-client
|
||||
|
||||
RUN echo '%wheel ALL=(ALL:ALL) NOPASSWD: ALL' >> /etc/sudoers
|
||||
RUN useradd -G wheel -d /build builder
|
||||
RUN mkdir /script
|
||||
COPY run.sh /script
|
||||
|
||||
ENV MINIO_HOST="minio.konchin.com"
|
||||
ENV MINIO_PORT="9000"
|
||||
ENV MINIO_BUCKET="archrepo"
|
||||
ENV MINIO_ACCESSKEY=""
|
||||
ENV MINIO_SECRETKEY=""
|
||||
|
||||
ENV REPO_NAME="custom"
|
||||
|
||||
WORKDIR /build
|
||||
ENTRYPOINT ["/usr/bin/env"]
|
||||
CMD ["/script/run.sh"]
|
||||
Reference in New Issue
Block a user