predixy icon indicating copy to clipboard operation
predixy copied to clipboard

ARM64 builds?

Open duyanghao opened this issue 6 years ago • 2 comments

Does predixy support ARM64 build now? Is there ARM64 Images?

duyanghao avatar Aug 28 '19 02:08 duyanghao

I'm not sure.

fortrue avatar Aug 28 '19 12:08 fortrue

We can use this Dockerfile to build predixy ARM64 image:

FROM arm64v8/ubuntu:18.04

LABEL maintainer="duyanghao <[email protected]>"

ENV VERSION 1.0.4

RUN apt-get update && apt-get upgrade -y \
    && apt-get install -y build-essential wget unzip \
    && wget --no-check-certificate https://github.com/joyieldInc/predixy/archive/${VERSION}.zip -O predixy-${VERSION}.zip \
    && unzip predixy-${VERSION}.zip \
    && cd predixy-${VERSION} \
    && make \
    && mv src/predixy /usr/local/bin \
    && mkdir -p /etc/predixy/conf

ADD conf /etc/predixy/conf

CMD ["/usr/local/bin/predixy", "/etc/predixy/conf/predixy.conf"]

duyanghao avatar Aug 29 '19 11:08 duyanghao