Aarch64 support for crate

i am trying to build crate using docker on aarch64 with alpine 3.7,but JRE is crashing but same is working with ubuntu and centos on aarch64

Hi Peter,

The way I would approach it would be:

1.- Clone this project: https://github.com/crate/docker-crate
2.- cp -r amd64 aarch64
3.- cp Dockerfile aarch64/crate
4.- cd aarch64/crate

At this point you need to edit the aarch64/crate/Dockerfile file command by command until it works.
For example, the start of the Dockerfile:

FROM alpine:latest

RUN addgroup crate && adduser -D -u 1000 -G crate -h /crate crate

RUN apk add curl

RUN curl --retry 8 -o /openjdk.tar.gz https://download.java.net/java/GA/jdk13.0.1/cec27d702aa74d5a8630c65ae61e4305/9/GPL/openjdk-13.0.1_linux-x64_bin.tar.gz \
    && echo "2e01716546395694d3fad54c9b36d1cd46c5894c06f72d156772efbcf4b41335 */openjdk.tar.gz" | sha256sum -c - \
    && tar -C /opt -zxf /openjdk.tar.gz \
    && rm /openjdk.tar.gz

When you succeed, it would be lovely if you would push a PR under the project.

I had a terminal window open, to test the commands, so I did not have to painfully go the docker build . way. In the terminal window:

docker run -it alpine:latest /bin/sh

Notice that alpine does not support useradd, groupadd, but rather adduser, addgroup, as well as other nuisances.

Kind regards,