mirror of
https://github.com/craigerl/aprsd.git
synced 2024-11-21 23:55:17 -05:00
Update Dockerfile
This commit is contained in:
parent
62e1d69272
commit
8a456cac48
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user