parent
ba5bb4a127
commit
3fa95f5263
@ -1,10 +0,0 @@ |
||||
# use "make dockerimage" to build |
||||
FROM alpine:3.3 |
||||
RUN apk add --no-cache ca-certificates bash |
||||
ADD minio.dockerimage /minio |
||||
ADD export /export |
||||
EXPOSE 9000 |
||||
COPY start.sh /start.sh |
||||
ENV ALLOW_CONTAINER_ROOT=1 |
||||
ENTRYPOINT ["/start.sh"] |
||||
CMD ["/export"] |
@ -1,10 +0,0 @@ |
||||
#!/bin/bash |
||||
|
||||
## Fix this check when we arrive at XL. |
||||
if [ -z "$1" ]; then |
||||
echo "Invalid arguments" |
||||
echo "Usage: <export_dir>" |
||||
exit 1 |
||||
else |
||||
/bin/mkdir -p "$1" && /minio server "$1" |
||||
fi |
Loading…
Reference in new issue