mirror of
https://github.com/linuxserver/docker-unifi-network-application.git
synced 2024-12-26 22:19:43 -08:00
Update arm dockerfile and readme
This commit is contained in:
parent
56dfd10866
commit
2f61d5d228
|
@ -1,6 +1,6 @@
|
||||||
# syntax=docker/dockerfile:1
|
# syntax=docker/dockerfile:1
|
||||||
|
|
||||||
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.18
|
FROM ghcr.io/linuxserver/baseimage-ubuntu:arm64v8-jammy
|
||||||
|
|
||||||
# set version label
|
# set version label
|
||||||
ARG BUILD_DATE
|
ARG BUILD_DATE
|
||||||
|
@ -10,14 +10,17 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
|
||||||
LABEL maintainer="thespad"
|
LABEL maintainer="thespad"
|
||||||
|
|
||||||
# environment settings
|
# environment settings
|
||||||
ARG UNIFI_BRANCH="stable"
|
ARG UNIFI_BRANCH="stable" \
|
||||||
|
DEBIAN_FRONTEND="noninteractive"
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
echo "**** install packages ****" && \
|
echo "**** install packages ****" && \
|
||||||
apk add --no-cache \
|
apt-get update && \
|
||||||
|
apt-get install --no-install-recommends -y \
|
||||||
jsvc \
|
jsvc \
|
||||||
logrotate \
|
logrotate \
|
||||||
openjdk17-jre-headless && \
|
openjdk-17-jre-headless \
|
||||||
|
unzip && \
|
||||||
echo "**** install unifi ****" && \
|
echo "**** install unifi ****" && \
|
||||||
if [ -z ${UNIFI_VERSION+x} ]; then \
|
if [ -z ${UNIFI_VERSION+x} ]; then \
|
||||||
UNIFI_VERSION=$(curl -sX GET http://dl.ui.com/unifi/debian/dists/${UNIFI_BRANCH}/ubiquiti/binary-amd64/Packages \
|
UNIFI_VERSION=$(curl -sX GET http://dl.ui.com/unifi/debian/dists/${UNIFI_BRANCH}/ubiquiti/binary-amd64/Packages \
|
||||||
|
@ -32,8 +35,11 @@ RUN \
|
||||||
unzip /tmp/unifi.zip -d /usr/lib && \
|
unzip /tmp/unifi.zip -d /usr/lib && \
|
||||||
mv /usr/lib/UniFi /usr/lib/unifi && \
|
mv /usr/lib/UniFi /usr/lib/unifi && \
|
||||||
echo "**** cleanup ****" && \
|
echo "**** cleanup ****" && \
|
||||||
|
apt-get clean && \
|
||||||
rm -rf \
|
rm -rf \
|
||||||
/tmp/*
|
/tmp/* \
|
||||||
|
/var/lib/apt/lists/* \
|
||||||
|
/var/tmp/*
|
||||||
|
|
||||||
# add local files
|
# add local files
|
||||||
COPY root/ /
|
COPY root/ /
|
||||||
|
|
|
@ -121,5 +121,6 @@ app_setup_block: |
|
||||||
|
|
||||||
# changelog
|
# changelog
|
||||||
changelogs:
|
changelogs:
|
||||||
|
- { date: "16.01.24:", desc: "Install from zip package instead of deb." }
|
||||||
- { date: "17.10.23:", desc: "Add environment variables for TLS and authSource to support Atlas and new MongoDB versions." }
|
- { date: "17.10.23:", desc: "Add environment variables for TLS and authSource to support Atlas and new MongoDB versions." }
|
||||||
- { date: "05.09.23:", desc: "Initial release." }
|
- { date: "05.09.23:", desc: "Initial release." }
|
||||||
|
|
Loading…
Reference in a new issue