Skip to content

Commit

Permalink
Add Dockerfiles to build for arm64, ppc64le, s390x
Browse files Browse the repository at this point in the history
  • Loading branch information
deitch committed Sep 4, 2018
1 parent 7250aba commit 9d95e70
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Dockerfile.arm64
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM arm64v8/alpine:3.8

RUN mkdir -p /usr/local/bin
ADD flexvol/docker/flexvol.sh /usr/local/bin/
ADD bin/flexvol-arm64 /usr/local/bin/flexvol

RUN chmod +x /usr/local/bin/flexvol.sh

ENTRYPOINT ["/usr/local/bin/flexvol.sh"]
9 changes: 9 additions & 0 deletions Dockerfile.ppc64le
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM ppc64le/alpine:3.8

RUN mkdir -p /usr/local/bin
ADD flexvol/docker/flexvol.sh /usr/local/bin/
ADD bin/flexvol-ppc64le /usr/local/bin/flexvol

RUN chmod +x /usr/local/bin/flexvol.sh

ENTRYPOINT ["/usr/local/bin/flexvol.sh"]
9 changes: 9 additions & 0 deletions Dockerfile.s390x
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM s390x/alpine:3.8

RUN mkdir -p /usr/local/bin
ADD flexvol/docker/flexvol.sh /usr/local/bin/
ADD bin/flexvol-s390x /usr/local/bin/flexvol

RUN chmod +x /usr/local/bin/flexvol.sh

ENTRYPOINT ["/usr/local/bin/flexvol.sh"]

0 comments on commit 9d95e70

Please sign in to comment.