Deprecate intel-32, arm64, arm support for minio builds. (#4811)
It was decided that we will be deprecating ARM support for minio builds. ARM users should simply compile from source. Additionally 32bit version of Linux, Windows and FreeBSD (64bit) are deprecated.master
parent
d4b107adf4
commit
58633a383a
@ -1,30 +0,0 @@ |
|||||||
FROM resin/aarch64-alpine:3.6 |
|
||||||
|
|
||||||
MAINTAINER Minio Inc <dev@minio.io> |
|
||||||
|
|
||||||
ENV GOPATH /go |
|
||||||
ENV PATH $PATH:$GOPATH/bin |
|
||||||
ENV CGO_ENABLED 0 |
|
||||||
|
|
||||||
WORKDIR /go/src/github.com/minio/ |
|
||||||
|
|
||||||
RUN \ |
|
||||||
apk add --no-cache ca-certificates && \ |
|
||||||
apk add --no-cache --virtual .build-deps git go musl-dev && \ |
|
||||||
echo 'hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4' >> /etc/nsswitch.conf && \ |
|
||||||
go get -v -d github.com/minio/minio && \ |
|
||||||
cd /go/src/github.com/minio/minio && \ |
|
||||||
go install -v -ldflags "$(go run buildscripts/gen-ldflags.go)" && \ |
|
||||||
rm -rf /go/pkg /go/src /usr/local/go && apk del .build-deps |
|
||||||
|
|
||||||
EXPOSE 9000 |
|
||||||
|
|
||||||
COPY buildscripts/docker-entrypoint.sh /usr/bin/ |
|
||||||
|
|
||||||
RUN chmod +x /usr/bin/docker-entrypoint.sh |
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/bin/docker-entrypoint.sh"] |
|
||||||
|
|
||||||
VOLUME ["/export"] |
|
||||||
|
|
||||||
CMD ["minio"] |
|
@ -1,30 +0,0 @@ |
|||||||
FROM resin/armhf-alpine:3.6 |
|
||||||
|
|
||||||
MAINTAINER Minio Inc <dev@minio.io> |
|
||||||
|
|
||||||
ENV GOPATH /go |
|
||||||
ENV PATH $PATH:$GOPATH/bin |
|
||||||
ENV CGO_ENABLED 0 |
|
||||||
|
|
||||||
WORKDIR /go/src/github.com/minio/ |
|
||||||
|
|
||||||
RUN \ |
|
||||||
apk add --no-cache ca-certificates && \ |
|
||||||
apk add --no-cache --virtual .build-deps git go musl-dev && \ |
|
||||||
echo 'hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4' >> /etc/nsswitch.conf && \ |
|
||||||
go get -v -d github.com/minio/minio && \ |
|
||||||
cd /go/src/github.com/minio/minio && \ |
|
||||||
go install -v -ldflags "$(go run buildscripts/gen-ldflags.go)" && \ |
|
||||||
rm -rf /go/pkg /go/src /usr/local/go && apk del .build-deps |
|
||||||
|
|
||||||
EXPOSE 9000 |
|
||||||
|
|
||||||
COPY buildscripts/docker-entrypoint.sh /usr/bin/ |
|
||||||
|
|
||||||
RUN chmod +x /usr/bin/docker-entrypoint.sh |
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/bin/docker-entrypoint.sh"] |
|
||||||
|
|
||||||
VOLUME ["/export"] |
|
||||||
|
|
||||||
CMD ["minio"] |
|
@ -1,25 +0,0 @@ |
|||||||
FROM resin/aarch64-alpine:3.6 |
|
||||||
|
|
||||||
MAINTAINER Minio Inc <dev@minio.io> |
|
||||||
|
|
||||||
COPY buildscripts/docker-entrypoint.sh buildscripts/healthcheck.sh /usr/bin/ |
|
||||||
|
|
||||||
RUN \ |
|
||||||
apk add --no-cache ca-certificates && \ |
|
||||||
apk add --no-cache --virtual .build-deps curl && \ |
|
||||||
echo 'hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4' >> /etc/nsswitch.conf && \ |
|
||||||
curl https://dl.minio.io/server/minio/release/linux-arm64/minio > /usr/bin/minio && \ |
|
||||||
chmod +x /usr/bin/minio && \ |
|
||||||
chmod +x /usr/bin/docker-entrypoint.sh && \ |
|
||||||
chmod +x /usr/bin/healthcheck.sh |
|
||||||
|
|
||||||
EXPOSE 9000 |
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/bin/docker-entrypoint.sh"] |
|
||||||
|
|
||||||
VOLUME ["/export"] |
|
||||||
|
|
||||||
HEALTHCHECK --interval=30s --timeout=5s \ |
|
||||||
CMD /usr/bin/healthcheck.sh |
|
||||||
|
|
||||||
CMD ["minio"] |
|
@ -1,25 +0,0 @@ |
|||||||
FROM resin/armhf-alpine:3.6 |
|
||||||
|
|
||||||
MAINTAINER Minio Inc <dev@minio.io> |
|
||||||
|
|
||||||
COPY buildscripts/docker-entrypoint.sh buildscripts/healthcheck.sh /usr/bin/ |
|
||||||
|
|
||||||
RUN \ |
|
||||||
apk add --no-cache ca-certificates && \ |
|
||||||
apk add --no-cache --virtual .build-deps curl && \ |
|
||||||
echo 'hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4' >> /etc/nsswitch.conf && \ |
|
||||||
curl https://dl.minio.io/server/minio/release/linux-arm/minio > /usr/bin/minio && \ |
|
||||||
chmod +x /usr/bin/minio && \ |
|
||||||
chmod +x /usr/bin/docker-entrypoint.sh && \ |
|
||||||
chmod +x /usr/bin/healthcheck.sh |
|
||||||
|
|
||||||
EXPOSE 9000 |
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/bin/docker-entrypoint.sh"] |
|
||||||
|
|
||||||
VOLUME ["/export"] |
|
||||||
|
|
||||||
HEALTHCHECK --interval=30s --timeout=5s \ |
|
||||||
CMD /usr/bin/healthcheck.sh |
|
||||||
|
|
||||||
CMD ["minio"] |
|
Loading…
Reference in new issue