Skip to content

Commit 2654f2d

Browse files
committed
Rebase to noble
1 parent 4caf784 commit 2654f2d

File tree

6 files changed

+13
-12
lines changed

6 files changed

+13
-12
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1
22

3-
FROM ghcr.io/linuxserver/baseimage-ubuntu:jammy
3+
FROM ghcr.io/linuxserver/baseimage-ubuntu:noble
44

55
# set version label
66
ARG BUILD_DATE
@@ -34,6 +34,7 @@ RUN \
3434
"https://dl.ui.com/unifi/${UNIFI_VERSION}/UniFi.unix.zip" && \
3535
unzip /tmp/unifi.zip -d /usr/lib && \
3636
mv /usr/lib/UniFi /usr/lib/unifi && \
37+
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
3738
echo "**** cleanup ****" && \
3839
apt-get clean && \
3940
rm -rf \

Dockerfile.aarch64

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1
22

3-
FROM ghcr.io/linuxserver/baseimage-ubuntu:arm64v8-jammy
3+
FROM ghcr.io/linuxserver/baseimage-ubuntu:arm64v8-noble
44

55
# set version label
66
ARG BUILD_DATE
@@ -34,6 +34,7 @@ RUN \
3434
"https://dl.ui.com/unifi/${UNIFI_VERSION}/UniFi.unix.zip" && \
3535
unzip /tmp/unifi.zip -d /usr/lib && \
3636
mv /usr/lib/UniFi /usr/lib/unifi && \
37+
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
3738
echo "**** cleanup ****" && \
3839
apt-get clean && \
3940
rm -rf \

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ pipeline {
3131
CI_PORT='8443'
3232
CI_SSL='true'
3333
CI_DELAY='180'
34-
CI_DOCKERENV='TZ=US/Pacific'
35-
CI_AUTH='user:password'
34+
CI_DOCKERENV=''
35+
CI_AUTH=''
3636
CI_WEBPATH=''
3737
}
3838
stages {

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
428428

429429
## Versions
430430

431+
* **18.07.24:** - Rebase to Ubuntu Noble.
431432
* **04.03.24:** - Install from zip package instead of deb.
432433
* **17.10.23:** - Add environment variables for TLS and authSource to support Atlas and new MongoDB versions.
433434
* **05.09.23:** - Initial release.

jenkins-vars.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ repo_vars:
2222
- CI_PORT='8443'
2323
- CI_SSL='true'
2424
- CI_DELAY='180'
25-
- CI_DOCKERENV='TZ=US/Pacific'
26-
- CI_AUTH='user:password'
25+
- CI_DOCKERENV=''
26+
- CI_AUTH=''
2727
- CI_WEBPATH=''

readme-vars.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ available_architectures:
1212
- { arch: "{{ arch_x86_64 }}", tag: "amd64-latest"}
1313
- { arch: "{{ arch_arm64 }}", tag: "arm64v8-latest"}
1414

15-
# development version
16-
development_versions: false
17-
1815
# container parameters
1916
param_container_name: "{{ project_name }}"
2017
param_usage_include_vols: true
@@ -64,7 +61,7 @@ app_setup_block: |
6461
Starting with version 8.1 of Unifi Network Application, mongodb 3.6 through 7.0 are supported.
6562
6663
**Make sure you pin your database image version and do not use `latest`, as mongodb does not support automatic upgrades between major versions.**
67-
64+
6865
**MongoDB >4.4 on X86_64 Hardware needs a CPU with AVX support. Some lower end Intel CPU models like Celeron and Pentium (before Tiger-Lake) more Details: [Advanced Vector Extensions - Wikipedia](https://en.wikipedia.org/wiki/Advanced_Vector_Extensions#CPUs_with_AVX) don't support AVX, but you can still use MongoDB 4.4.**
6966
7067
If you are using the [official mongodb container](https://hub.docker.com/_/mongo/) in Version >=6, you can create your user using an `init-mongo.js` file with the following contents:
@@ -73,7 +70,7 @@ app_setup_block: |
7370
db.getSiblingDB("MONGO_DBNAME").createUser({user: "MONGO_USER", pwd: "MONGO_PASS", roles: [{role: "dbOwner", db: "MONGO_DBNAME"}]});
7471
db.getSiblingDB("MONGO_DBNAME_stat").createUser({user: "MONGO_USER", pwd: "MONGO_PASS", roles: [{role: "dbOwner", db: "MONGO_DBNAME_stat"}]});
7572
```
76-
73+
7774
If you are using mongodb < 6.0, you can create a `init-mongo.sh` file with the following contents:
7875
```sh
7976
#!/bin/bash
@@ -122,7 +119,7 @@ app_setup_block: |
122119
- /path/to/init-mongo.sh:/docker-entrypoint-initdb.d/init-mongo.sh:ro
123120
restart: unless-stopped
124121
```
125-
122+
126123
127124
*Note that the init script method will only work on first run. If you start the Mongodb container without an init script it will generate test data automatically and you will have to manually create your databases, or restart with a clean `/data/db` volume and an init script mounted.*
128125
@@ -161,6 +158,7 @@ app_setup_block: |
161158
162159
# changelog
163160
changelogs:
161+
- { date: "18.07.24:", desc: "Rebase to Ubuntu Noble." }
164162
- { date: "04.03.24:", desc: "Install from zip package instead of deb." }
165163
- { date: "17.10.23:", desc: "Add environment variables for TLS and authSource to support Atlas and new MongoDB versions." }
166164
- { date: "05.09.23:", desc: "Initial release." }

0 commit comments

Comments
 (0)