File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:1
22
3- FROM ghcr.io/linuxserver/baseimage-alpine:3.18
3+ FROM ghcr.io/linuxserver/baseimage-ubuntu:jammy
44
55# set version label
66ARG BUILD_DATE
@@ -10,14 +10,17 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
1010LABEL maintainer="thespad"
1111
1212# environment settings
13- ARG UNIFI_BRANCH="stable"
13+ ARG UNIFI_BRANCH="stable" \
14+ DEBIAN_FRONTEND="noninteractive"
1415
1516RUN \
1617 echo "**** install packages ****" && \
17- apk add --no-cache \
18+ apt-get update && \
19+ apt-get install --no-install-recommends -y \
1820 jsvc \
1921 logrotate \
20- openjdk17-jre-headless && \
22+ openjdk-17-jre-headless \
23+ unzip && \
2124 echo "**** install unifi ****" && \
2225 if [ -z ${UNIFI_VERSION+x} ]; then \
2326 UNIFI_VERSION=$(curl -sX GET http://dl.ui.com/unifi/debian/dists/${UNIFI_BRANCH}/ubiquiti/binary-amd64/Packages \
3235 unzip /tmp/unifi.zip -d /usr/lib && \
3336 mv /usr/lib/UniFi /usr/lib/unifi && \
3437 echo "**** cleanup ****" && \
38+ apt-get clean && \
3539 rm -rf \
36- /tmp/*
40+ /tmp/* \
41+ /var/lib/apt/lists/* \
42+ /var/tmp/*
3743
3844# add local files
3945COPY root/ /
You can’t perform that action at this time.
0 commit comments