mirror of
https://gitlab.com/alemaire/buildx.git
synced 2025-01-11 11:03:29 +00:00
Compare commits
No commits in common. "2d47d49c493360121720943124c3a86a9674bb93" and "51130880daf14564fbe44423d9accf837d6a0974" have entirely different histories.
2d47d49c49
...
51130880da
@ -1,13 +1,11 @@
|
|||||||
FROM ubuntu:focal-20210119
|
FROM ubuntu:focal-20201106
|
||||||
|
|
||||||
ARG DEBIAN_FRONTEND=noninteractive
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
COPY entrypoint.sh /docker-entrypoint.sh
|
|
||||||
|
|
||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
ARG UNIFI_VERSION
|
ARG UNIFI_VERSION
|
||||||
ARG VERSION
|
ARG VERSION
|
||||||
ENV VERSION $VERSION
|
ENV VERSION $VERSION
|
||||||
ENV JAVA_OPTS -Xmx512M
|
|
||||||
|
|
||||||
WORKDIR /tmp
|
WORKDIR /tmp
|
||||||
RUN mkdir -p /usr/share/man/man1 && \
|
RUN mkdir -p /usr/share/man/man1 && \
|
||||||
@ -17,13 +15,16 @@ RUN mkdir -p /usr/share/man/man1 && \
|
|||||||
apt install -qqy --no-install-recommends /tmp/unifi_sysvinit_all.deb procps tini openjdk-8-jre-headless && \
|
apt install -qqy --no-install-recommends /tmp/unifi_sysvinit_all.deb procps tini openjdk-8-jre-headless && \
|
||||||
apt remove -qqy wget && \
|
apt remove -qqy wget && \
|
||||||
rm -rf /var/lib/apt/lists/* && \
|
rm -rf /var/lib/apt/lists/* && \
|
||||||
rm /tmp/unifi_sysvinit_all.deb && \
|
rm /tmp/unifi_sysvinit_all.deb
|
||||||
ln -s /var/lib/unifi /usr/lib/unifi/data
|
|
||||||
|
|
||||||
|
|
||||||
|
RUN ln -s /var/lib/unifi /usr/lib/unifi/data
|
||||||
EXPOSE 8080/tcp 8443/tcp 8843/tcp 8880/tcp 3478/udp
|
EXPOSE 8080/tcp 8443/tcp 8843/tcp 8880/tcp 3478/udp
|
||||||
|
|
||||||
WORKDIR /var/lib/unifi
|
WORKDIR /var/lib/unifi
|
||||||
|
ENV JAVA_OPTS -Xmx512M
|
||||||
|
|
||||||
|
COPY entrypoint.sh /docker-entrypoint.sh
|
||||||
ENTRYPOINT ["/usr/bin/tini", "-g", "--", "/docker-entrypoint.sh"]
|
ENTRYPOINT ["/usr/bin/tini", "-g", "--", "/docker-entrypoint.sh"]
|
||||||
|
|
||||||
CMD ["start"]
|
CMD ["start"]
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
VERSION=6.1.56
|
VERSION=6.1.55
|
||||||
UNIFI_VERSION=6.1.56-7e42a6482a
|
UNIFI_VERSION=6.1.55-1c109f06a5
|
||||||
|
Loading…
Reference in New Issue
Block a user