diff --git a/docker/Dockerfile b/docker/Dockerfile index 3b25080..6a09e71 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -37,14 +37,14 @@ RUN if [ "${BUILDX_QEMU_ENV}" = "true" -a "$(getconf LONG_BIT)" = "32" ]; then \ pip3 install cryptography ;\ fi -# Install aprsd -RUN pip3 install aprsd==$APRSD_PIP_VERSION - # Ensure /config is there with a default config file USER root +# Install aprsd +RUN pip3 install aprsd==$APRSD_PIP_VERSION RUN mkdir -p /config RUN aprsd sample-config > /config/aprsd.conf RUN chown -R $APRS_USER:$APRS_USER /config +RUN chown -R $APRS_USER:$APRS_USER $HOME # override this to run another configuration ENV CONF default diff --git a/docker/build.sh b/docker/build.sh index 134d736..8c9b0d3 100755 --- a/docker/build.sh +++ b/docker/build.sh @@ -16,6 +16,7 @@ OPTIONS: -d Use Dockerfile-dev for a git clone build -b Branch to use (default = master) -r Destroy and rebuild the buildx environment + -v aprsd version to build EOF } @@ -62,8 +63,9 @@ done if [ $ALL_PLATFORMS -eq 1 ] then - PLATFORMS="linux/arm/v7,linux/arm64,linux/amd64" + PLATFORMS="linux/arm64,linux/amd64" #PLATFORMS="linux/arm/v7,linux/arm/v6,linux/amd64" + #PLATFORMS="linux/arm64" else PLATFORMS="linux/amd64" fi