Compare commits

..

331 commits
master ... edge

Author SHA1 Message Date
LinuxServer-CI 9750e91b34
Bot Updating Package Versions 2025-04-12 13:33:07 +00:00
LinuxServer-CI 1829203a1f
Bot Updating Package Versions 2025-04-05 13:33:01 +00:00
LinuxServer-CI 541d36efe3
Bot Updating Package Versions 2025-03-29 13:32:42 +00:00
LinuxServer-CI 7ce494bd90
Bot Updating Package Versions 2025-03-15 13:32:59 +00:00
LinuxServer-CI 9387323f0c
Bot Updating Package Versions 2025-03-08 13:27:31 +00:00
LinuxServer-CI 27bf833946
Bot Updating Package Versions 2025-03-01 13:31:25 +00:00
LinuxServer-CI e3cc011af9
Bot Updating Package Versions 2025-02-22 13:31:23 +00:00
LinuxServer-CI fb9656ba65
Bot Updating Package Versions 2025-02-15 13:30:39 +00:00
LinuxServer-CI 507c8e9b06
Bot Updating Templated Files 2025-02-15 13:28:34 +00:00
LinuxServer-CI 33b769f6a0
Bot Updating Package Versions 2025-02-08 13:29:54 +00:00
LinuxServer-CI aa7a9bedeb
Bot Updating Package Versions 2025-02-01 13:32:52 +00:00
LinuxServer-CI ea8ac65859
Bot Updating Templated Files 2025-02-01 13:30:44 +00:00
LinuxServer-CI c3b15ae1c4
Bot Updating Templated Files 2025-02-01 13:29:40 +00:00
LinuxServer-CI 2ec270928a
Bot Updating Package Versions 2025-01-25 13:30:37 +00:00
LinuxServer-CI 24c334abb9
Bot Updating Package Versions 2025-01-18 13:29:13 +00:00
LinuxServer-CI 0fb8917a4d
Bot Updating Package Versions 2025-01-11 13:31:03 +00:00
LinuxServer-CI cbfab27abe
Bot Updating Package Versions 2025-01-10 19:42:25 +00:00
LinuxServer-CI cd6e5c3261
Bot Updating Package Versions 2025-01-04 13:30:58 +00:00
LinuxServer-CI 6adc020f3a
Bot Updating Package Versions 2024-12-28 13:31:11 +00:00
LinuxServer-CI 05ad39baa4
Bot Updating Package Versions 2024-12-15 18:57:35 +00:00
LinuxServer-CI ceebcde095
Bot Updating Templated Files 2024-12-15 18:53:30 +00:00
LinuxServer-CI db0132f65e
Bot Updating Templated Files 2024-12-15 18:51:46 +00:00
LinuxServer-CI b6f784c880
Bot Updating Package Versions 2024-11-15 14:43:46 +00:00
LinuxServer-CI 09f1cf6c0f
Bot Updating Templated Files 2024-11-15 14:35:49 +00:00
LinuxServer-CI a0cfdcab1b
Bot Updating Templated Files 2024-11-15 14:34:05 +00:00
Adam 9a50ddc764
Merge pull request #249 from linuxserver/edge-tidy 2024-11-15 14:32:09 +00:00
thespad b3e506e337
Remove contenv symlink so we don't overwrite it 2024-11-15 12:15:47 +00:00
thespad cfdd9eb4b6
Add missing ARG 2024-11-15 11:56:16 +00:00
thespad a85f01ac96
Bump s6, add with-contenv from repo 2024-11-15 11:50:23 +00:00
thespad ff6532acc1
Tidy up init deps 2024-11-15 11:46:23 +00:00
LinuxServer-CI 4356a5ee09
Bot Updating Package Versions 2024-09-28 13:36:52 +00:00
LinuxServer-CI a6671df6c5
Bot Updating Templated Files 2024-09-28 13:35:02 +00:00
LinuxServer-CI 7db30b250a
Bot Updating Templated Files 2024-09-28 13:33:01 +00:00
LinuxServer-CI 6b41cb405c
Bot Updating Templated Files 2024-09-28 13:31:25 +00:00
LinuxServer-CI a9ef40cb24
Bot Updating Package Versions 2024-09-21 13:31:30 +00:00
LinuxServer-CI dc98a43528
Bot Updating Package Versions 2024-09-14 13:30:16 +00:00
LinuxServer-CI cb8e50088d
Bot Updating Package Versions 2024-09-07 13:30:31 +00:00
LinuxServer-CI 0669e5679e
Bot Updating Package Versions 2024-08-31 13:30:36 +00:00
LinuxServer-CI b93cd38cd6
Bot Updating Templated Files 2024-08-24 13:29:15 +00:00
LinuxServer-CI 1fb8224d5b Bot Updating Templated Files 2024-08-24 13:27:57 +00:00
LinuxServer-CI 3f14c9b61b Bot Updating Package Versions 2024-08-17 13:27:25 +00:00
LinuxServer-CI 9ed1cafff3 Bot Updating Package Versions 2024-08-09 12:13:24 +00:00
LinuxServer-CI 824755e63c Bot Updating Package Versions 2024-08-03 13:27:32 +00:00
LinuxServer-CI 47dc01f9f4 Bot Updating Package Versions 2024-07-27 13:28:04 +00:00
LinuxServer-CI e2a31facf7 Bot Updating Package Versions 2024-07-20 13:28:05 +00:00
LinuxServer-CI 96b1f0fb55 Bot Updating Package Versions 2024-07-13 13:32:01 +00:00
LinuxServer-CI 8cfae565b9 Bot Updating Templated Files 2024-07-13 13:29:28 +00:00
LinuxServer-CI 805d7876ee Bot Updating Templated Files 2024-07-13 13:27:02 +00:00
LinuxServer-CI d18c6d2a3f Bot Updating Package Versions 2024-07-06 13:26:46 +00:00
Adam 3e65c3745e
Merge pull request #246 from linuxserver/edge-ro-concept
RO support hooks (edge)
2024-07-02 13:58:53 +01:00
LinuxServer-CI d38466b1e6 Bot Updating Package Versions 2024-06-29 13:28:49 +00:00
thespad 0768ec9bfa
Linting 2024-06-26 23:09:48 +01:00
LinuxServer-CI 9d8f717967 Bot Updating Package Versions 2024-06-22 13:29:15 +00:00
thespad 799cbde906
Fix chmod 2024-06-20 13:51:22 +01:00
thespad 3567e2c461
Use default branding file for 3rd party images 2024-06-14 14:23:52 +01:00
thespad 78ab9cc511
Don't touch built-in crontabs in RO mode 2024-06-14 14:02:03 +01:00
thespad b68b2644fe
POC RO support hooks 2024-06-14 13:35:25 +01:00
LinuxServer-CI 3182240c76 Bot Updating Package Versions 2024-06-11 08:37:44 +00:00
Adam 8e709f2d69
Merge pull request #241 from linuxserver/edge-lsiown
Copy lsiown from repo (edge)
2024-06-11 09:35:24 +01:00
thespad 311e0224f6
Copy lsiown from repo 2024-06-10 15:19:50 +01:00
LinuxServer-CI d847543ceb Bot Updating Package Versions 2024-06-08 13:27:55 +00:00
LinuxServer-CI de2ddcefdb Bot Updating Package Versions 2024-05-25 13:28:28 +00:00
LinuxServer-CI 9651519192 Bot Updating Package Versions 2024-05-23 16:27:17 +00:00
Adam 2062c7fc65
Merge pull request #239 from linuxserver/edge-init-version
Output image version on init if present (Edge)
2024-05-23 17:24:39 +01:00
thespad 1798dbfd96
Run builder 2024-05-23 17:00:05 +01:00
thespad e3f8dccb3c
Output image version on init if present 2024-05-23 16:44:32 +01:00
LinuxServer-CI 8977d49890 Bot Updating Package Versions 2024-05-18 13:28:22 +00:00
Roxedus 5e74adc182
Merge pull request #236 from linuxserver/edge-remove-arm-warning 2024-05-14 14:24:53 +02:00
thespad 34a9074952
Remove armhf warning 2024-05-12 15:05:00 +01:00
LinuxServer-CI d5f2b917fc Bot Updating Package Versions 2024-05-08 18:52:40 +00:00
Roxedus 3d9df72583
Merge pull request #231 from linuxserver/edge-catatonit 2024-05-08 20:50:21 +02:00
Roxedus 2a89b700af
Add Catatonit 2024-05-06 20:25:26 +02:00
LinuxServer-CI bbf941f687 Bot Updating Templated Files 2024-05-04 13:26:18 +00:00
LinuxServer-CI e455fd89e8 Bot Updating Package Versions 2024-04-27 13:26:52 +00:00
LinuxServer-CI 775aa80c0d Bot Updating Package Versions 2024-04-20 13:26:41 +00:00
LinuxServer-CI 137fd12a5b Bot Updating Package Versions 2024-04-17 13:47:42 +00:00
aptalca 2ab23226a7
Merge pull request #229 from linuxserver/edge-find
edge: add gnu find
2024-04-17 09:45:36 -04:00
aptalca b7573ca5c7
add gnu find 2024-04-13 16:07:18 -04:00
LinuxServer-CI 9d83a916f4 Bot Updating Package Versions 2024-04-13 13:25:27 +00:00
LinuxServer-CI cdbc38a5eb Bot Updating Package Versions 2024-04-06 13:27:27 +00:00
LinuxServer-CI 5948f93696 Bot Updating Package Versions 2024-03-29 19:10:00 +00:00
LinuxServer-CI 38dbcef357 Bot Updating Package Versions 2024-03-23 13:27:37 +00:00
LinuxServer-CI 39c93b3bda Bot Updating Package Versions 2024-03-16 13:27:44 +00:00
LinuxServer-CI 3a12cacaff Bot Updating Templated Files 2024-03-16 13:25:36 +00:00
LinuxServer-CI 154ff18af7 Bot Updating Package Versions 2024-03-09 13:25:51 +00:00
LinuxServer-CI e75cbb3828 Bot Updating Package Versions 2024-03-02 13:24:29 +00:00
LinuxServer-CI 2ff5a254cb Bot Updating Templated Files 2024-02-24 13:28:42 +00:00
LinuxServer-CI c8ce0365e5 Bot Updating Templated Files 2024-02-24 13:27:04 +00:00
LinuxServer-CI d03098fb5d Bot Updating Package Versions 2024-02-17 13:26:12 +00:00
LinuxServer-CI 5e41951af0 Bot Updating Package Versions 2024-02-10 13:27:56 +00:00
LinuxServer-CI 1d44dad239 Bot Updating Package Versions 2024-02-03 13:26:59 +00:00
LinuxServer-CI daede87fd9 Bot Updating Package Versions 2024-01-27 13:24:53 +00:00
LinuxServer-CI d2b7e26d76 Bot Updating Package Versions 2024-01-20 13:27:07 +00:00
LinuxServer-CI 5c8af205a8 Bot Updating Package Versions 2024-01-13 13:30:45 +00:00
LinuxServer-CI d7cd64d770 Bot Updating Templated Files 2024-01-13 13:27:42 +00:00
LinuxServer-CI 6dcb5381cf Bot Updating Package Versions 2024-01-06 13:27:19 +00:00
LinuxServer-CI e0921b68c0 Bot Updating Package Versions 2023-12-30 13:28:38 +00:00
LinuxServer-CI dc19287b5c Bot Updating Package Versions 2023-12-23 13:27:58 +00:00
LinuxServer-CI 5e4a4dec73 Bot Updating Package Versions 2023-12-16 13:26:48 +00:00
LinuxServer-CI 2511d57a4c Bot Updating Package Versions 2023-12-12 20:31:02 +00:00
Adam d197005412
Merge pull request #221 from linuxserver/edge-s6-3.1.6.2
Bump s6 to 3.1.6.2
2023-12-12 20:27:50 +00:00
LinuxServer-CI 4f34b542ac Bot Updating Package Versions 2023-12-09 13:27:37 +00:00
TheSpad b6c358e64f
Bump s6 to 3.1.6.2 2023-12-08 19:43:59 +00:00
LinuxServer-CI 284e69f176 Bot Updating Package Versions 2023-12-02 13:26:30 +00:00
LinuxServer-CI 6d1c1f849b Bot Updating Package Versions 2023-11-20 17:58:22 +00:00
Eric Nemchik 4ecd7f46ba
Merge pull request #215 from linuxserver/edge-cron-user-file
Add cron user file
2023-11-20 11:57:43 -06:00
Eric Nemchik 3bef857915
Merge pull request #212 from linuxserver/edge-etc-cron
Import crontabs from etc
2023-11-20 11:56:20 -06:00
Eric Nemchik 0257ba04d9
Add cron user file
Signed-off-by: Eric Nemchik <eric@nemchik.com>
2023-11-20 11:08:45 -06:00
Eric Nemchik 0358b6b025
Import crontabs from etc
Signed-off-by: Eric Nemchik <eric@nemchik.com>
2023-11-19 14:47:59 -06:00
Eric Nemchik 49deb4ddaa
Merge pull request #209 from linuxserver/edge-silent-cron
silent cron
2023-11-11 16:06:03 -06:00
LinuxServer-CI 64eeda7156 Bot Updating Package Versions 2023-11-11 21:34:25 +00:00
Adam ebfec13d2e
Merge pull request #205 from linuxserver/edge-secrets
Warn about newlines in secrets (edge)
2023-11-11 21:32:22 +00:00
TheSpad dd2888dad2
!0 instead of 1 2023-11-11 20:04:35 +00:00
Eric Nemchik 41e948b266
silent cron
Signed-off-by: Eric Nemchik <eric@nemchik.com>
2023-11-11 11:11:36 -06:00
LinuxServer-CI 1302f25ad2 Bot Updating Package Versions 2023-11-11 13:26:05 +00:00
TheSpad e8bc56292c
Warn rather than sanitize 2023-11-11 10:36:55 +00:00
TheSpad 7f2898be45
Default to sanitizing newlines in secrets 2023-11-10 14:40:25 +00:00
LinuxServer-CI ef330780bf Bot Updating Package Versions 2023-11-02 22:42:39 +00:00
Eric Nemchik 095734bf9e
Merge pull request #202 from linuxserver/edge-cron-redirect-stderr
Redirect stderr from cron
2023-11-02 17:39:35 -05:00
Eric Nemchik d89cc8d584
Redirect stderr from cron
Signed-off-by: GitHub <noreply@github.com>
2023-11-02 17:11:49 +00:00
LinuxServer-CI abd69f3c43 Bot Updating Package Versions 2023-11-02 15:57:00 +00:00
Eric Nemchik 9be07a1c27
Merge pull request #192 from linuxserver/edge-standard-cron
standard cron edge
2023-11-02 10:53:55 -05:00
LinuxServer-CI 9cff0ac4f0 Bot Updating Package Versions 2023-10-28 13:26:57 +00:00
LinuxServer-CI 3729b96c9c Bot Updating Package Versions 2023-10-21 13:25:41 +00:00
LinuxServer-CI f602f8e6ac Bot Updating Package Versions 2023-10-14 13:29:23 +00:00
LinuxServer-CI 799758031f Bot Updating Templated Files 2023-10-14 13:26:06 +00:00
LinuxServer-CI dbd65483b7 Bot Updating Package Versions 2023-10-07 13:32:15 +00:00
LinuxServer-CI 61bea63547 Bot Updating Templated Files 2023-10-07 13:28:48 +00:00
LinuxServer-CI 338aa58f65 Bot Updating Templated Files 2023-10-07 13:26:04 +00:00
LinuxServer-CI b1e62b73c4 Bot Updating Package Versions 2023-09-30 13:25:31 +00:00
LinuxServer-CI 3157950f61 Bot Updating Package Versions 2023-09-23 13:29:15 +00:00
LinuxServer-CI 9e91d73820 Bot Updating Package Versions 2023-09-16 13:27:52 +00:00
LinuxServer-CI 860633bce1 Bot Updating Package Versions 2023-09-09 13:25:43 +00:00
LinuxServer-CI fc65a5da46 Bot Updating Package Versions 2023-09-02 13:27:12 +00:00
Eric Nemchik 7cb8625629
cron in base
Signed-off-by: Eric Nemchik <eric@nemchik.com>
2023-08-19 13:48:09 -05:00
LinuxServer-CI 0fce2f1754 Bot Updating Package Versions 2023-08-19 13:26:48 +00:00
LinuxServer-CI a571df4809 Bot Updating Package Versions 2023-08-12 13:25:11 +00:00
LinuxServer-CI 17f9381bdf Bot Updating Package Versions 2023-08-05 13:26:42 +00:00
LinuxServer-CI 02bff28cce Bot Updating Package Versions 2023-07-29 13:26:42 +00:00
LinuxServer-CI 1ff200d0b5 Bot Updating Package Versions 2023-07-22 13:27:04 +00:00
LinuxServer-CI b0e4417743 Bot Updating Package Versions 2023-07-15 13:33:37 +00:00
LinuxServer-CI cf3e0080cc Bot Updating Package Versions 2023-07-08 13:32:43 +00:00
LinuxServer-CI ed5c6017a5 Bot Updating Package Versions 2023-07-01 13:35:47 +00:00
LinuxServer-CI 779d13725d Bot Updating Templated Files 2023-07-01 13:33:32 +00:00
LinuxServer-CI ceaf29fe22 Bot Updating Templated Files 2023-07-01 13:31:08 +00:00
LinuxServer-CI ba3b07f08d Bot Updating Package Versions 2023-06-24 13:33:55 +00:00
LinuxServer-CI 7bc86150cb Bot Updating Package Versions 2023-06-17 13:27:03 +00:00
LinuxServer-CI a59af42d8d Bot Updating Package Versions 2023-06-10 13:27:11 +00:00
LinuxServer-CI 166e817625 Bot Updating Package Versions 2023-06-03 13:27:43 +00:00
LinuxServer-CI 913058626e Bot Updating Package Versions 2023-05-27 13:30:13 +00:00
LinuxServer-CI e71da1e729 Bot Updating Templated Files 2023-05-27 13:27:02 +00:00
LinuxServer-CI 044e12d6b8 Bot Updating Package Versions 2023-05-20 13:28:14 +00:00
LinuxServer-CI f20876200d Bot Updating Package Versions 2023-05-16 15:57:45 +00:00
Adam 47eb1158b3
Merge pull request #189 from linuxserver/edge-package-install 2023-05-16 16:56:05 +01:00
TheSpad abaedfc48f
Externalise package-install 2023-05-16 10:44:36 +01:00
LinuxServer-CI 6a6707aa89 Bot Updating Package Versions 2023-05-15 20:26:04 +00:00
Adam 2ab413b631
Merge pull request #184 from linuxserver/edge-s6bump 2023-05-15 21:23:43 +01:00
TheSpad ce069f2039
Create lsiopy venv folder and envs 2023-05-15 21:03:09 +01:00
LinuxServer-CI 46265f64df Bot Updating Package Versions 2023-05-13 13:26:57 +00:00
TheSpad 8d69d6079d
Bump s6 to 3.1.5.0 (Edge) 2023-05-12 19:37:23 +01:00
LinuxServer-CI b0b14f8dc3 Bot Updating Package Versions 2023-05-06 13:26:03 +00:00
LinuxServer-CI fb9369418e Bot Updating Package Versions 2023-04-29 13:31:31 +00:00
LinuxServer-CI c0f75de050 Bot Updating Templated Files 2023-04-29 13:28:55 +00:00
LinuxServer-CI dad1e5cf03 Bot Updating Templated Files 2023-04-29 13:27:01 +00:00
LinuxServer-CI bd78be82f9 Bot Updating Package Versions 2023-04-22 13:28:20 +00:00
LinuxServer-CI 28ce170d28 Bot Updating Package Versions 2023-04-12 23:34:23 +02:00
Adam a8c5509889
Merge pull request #176 from linuxserver/edge-armhf-notice 2023-04-12 22:31:59 +01:00
TheSpad 9f9dce1353
Add armhf deprecation notice 2023-04-12 21:22:31 +01:00
LinuxServer-CI a973248cd8 Bot Updating Package Versions 2023-04-08 15:28:10 +02:00
LinuxServer-CI 1b67e35f18 Bot Updating Package Versions 2023-04-04 01:32:22 -05:00
LinuxServer-CI 5b495ff08a Bot Updating Templated Files 2023-04-04 01:30:17 -05:00
LinuxServer-CI f27de1095a Bot Updating Templated Files 2023-04-04 01:28:40 -05:00
LinuxServer-CI 0f15eec711 Bot Updating Templated Files 2023-04-04 08:26:50 +02:00
LinuxServer-CI 7f4a832a5c Bot Updating Package Versions 2023-03-28 08:28:30 +02:00
LinuxServer-CI a4404bbd8e Bot Updating Package Versions 2023-03-21 01:28:22 -05:00
LinuxServer-CI 74b74e49b9 Bot Updating Package Versions 2023-03-14 07:29:31 +01:00
LinuxServer-CI 0e055a8acf Bot Updating Package Versions 2023-03-07 00:30:44 -06:00
LinuxServer-CI 5c933a46eb Bot Updating Package Versions 2023-03-01 14:14:08 -06:00
Adam 530ba1a28c
Merge pull request #175 from linuxserver/edge-procps 2023-03-01 20:11:56 +00:00
TheSpad be5b98c2b5
Restore procps (ng) 2023-03-01 20:03:23 +00:00
LinuxServer-CI 30cde5e8e5 Bot Updating Package Versions 2023-03-01 20:36:49 +01:00
LinuxServer-CI 490f385516 Bot Updating Templated Files 2023-03-01 20:34:55 +01:00
LinuxServer-CI c111d5c91b Bot Updating Package Versions 2023-03-01 20:26:26 +01:00
Adam cdd04e3104
Merge pull request #172 from linuxserver/edge-branding 2023-03-01 19:24:25 +00:00
TheSpad 0afa4ce2c3
Remove copied contenv, source from mods now 2023-03-01 11:01:47 +00:00
TheSpad 1275a243de
Add netcat-openbsd due to busybox limitations 2023-03-01 09:51:08 +00:00
LinuxServer-CI ab5d466987 Bot Updating Package Versions 2023-02-28 00:32:15 -06:00
TheSpad 1d22f55973
Split branding into its own file 2023-02-26 17:03:27 +00:00
TheSpad 15957aba51
Set first party env for CI 2023-02-26 16:46:58 +00:00
TheSpad 53143efd2d
Custom branding 2023-02-26 16:23:58 +00:00
TheSpad cff454b765
Rename CI check 2023-02-26 16:23:47 +00:00
TheSpad 7bf80db9f3
Remove legacy /run symlink hack 2023-02-26 16:23:34 +00:00
LinuxServer-CI bf4a64624d Bot Updating Package Versions 2023-02-21 07:31:44 +01:00
LinuxServer-CI cf8e7e7266 Bot Updating Package Versions 2023-02-16 16:34:51 +01:00
Adam a6eb9330ac
Merge pull request #169 from linuxserver/edge-rootfs-poc 2023-02-16 15:32:33 +00:00
TheSpad 87c316bf3f
Make packages consistent between arches 2023-02-16 09:28:58 +00:00
TheSpad 12c615f236
Merge branch 'edge' into edge-rootfs-poc 2023-02-16 09:26:31 +00:00
LinuxServer-CI 8fc4f3f43a Bot Updating Package Versions 2023-02-14 07:39:24 +01:00
LinuxServer-CI bf46c6db71 Bot Updating Templated Files 2023-02-14 00:36:33 -06:00
LinuxServer-CI 3c974e330a Bot Updating Templated Files 2023-02-14 07:32:56 +01:00
LinuxServer-CI c482b3a5c4 Bot Updating Package Versions 2023-01-31 07:31:03 +01:00
LinuxServer-CI 38b2afef46 Bot Updating Package Versions 2023-01-24 00:29:33 -06:00
LinuxServer-CI da7a96a53b Bot Updating Package Versions 2023-01-17 07:29:48 +01:00
LinuxServer-CI 727f70a9ba Bot Updating Package Versions 2023-01-10 00:31:28 -06:00
TheSpad f09bf380e9
POC for building rootfs without external scripts 2023-01-07 11:31:51 +00:00
LinuxServer-CI 421e194812 Bot Updating Package Versions 2023-01-02 16:09:26 +01:00
Adam e21ec1b264
Merge pull request #167 from linuxserver/edge-legacy-scripts
Remove legacy scripts check
2023-01-02 15:07:31 +00:00
LinuxServer-CI 6ee98e34e3 Bot Updating Package Versions 2022-12-27 07:29:49 +01:00
LinuxServer-CI f4eead7150 Bot Updating Package Versions 2022-12-20 07:31:17 +01:00
LinuxServer-CI edb4206a79 Bot Updating Package Versions 2022-12-13 00:32:01 -06:00
TheSpad a3588cdd0d
Remove legacy custom file handlers 2022-12-10 18:23:48 +00:00
TheSpad 5d65feb448
Remove legacy scripts check 2022-12-10 17:09:55 +00:00
TheSpad 7742257975
Minor Dockerfile optimisations 2022-12-10 17:09:44 +00:00
LinuxServer-CI c3edb6d5f1 Bot Updating Package Versions 2022-12-06 00:31:06 -06:00
LinuxServer-CI 607bdbc5ab Bot Updating Package Versions 2022-11-29 06:40:46 +00:00
LinuxServer-CI 2b96688a08 Bot Updating Templated Files 2022-11-29 07:38:09 +01:00
LinuxServer-CI 7d735081cb Bot Updating Templated Files 2022-11-29 07:34:55 +01:00
LinuxServer-CI ee4ae6a9f9 Bot Updating Templated Files 2022-11-29 00:32:35 -06:00
LinuxServer-CI e3c7870d9d Bot Updating Package Versions 2022-11-23 08:52:18 -06:00
Adam 9d4fe04a0b
Merge pull request #158 from linuxserver/buildkit-edge 2022-11-23 14:49:59 +00:00
TheSpad 2ce67bd91b
chmod docker-mods script on ADD 2022-11-23 11:22:17 +00:00
LinuxServer-CI 2ba1fe57c9 Bot Updating Package Versions 2022-11-22 07:34:16 +01:00
LinuxServer-CI 111395d6c2 Bot Updating Package Versions 2022-11-15 07:33:41 +01:00
LinuxServer-CI 6928d962a9 Bot Updating Package Versions 2022-11-08 00:37:56 -06:00
LinuxServer-CI 8feeb1c663 Bot Updating Package Versions 2022-11-01 11:44:11 -05:00
LinuxServer-CI bd923f0c07 Bot Updating Package Versions 2022-11-01 01:41:53 -05:00
LinuxServer-CI 5de9de0ac7 Bot Updating Package Versions 2022-10-30 19:00:38 +01:00
Eric Nemchik b65548c428
Merge pull request #156 from linuxserver/edge-migrations
Fix migrations
2022-10-30 12:58:11 -05:00
Eric Nemchik 72f1baf69d Fix migrations 2022-10-29 20:16:23 -05:00
LinuxServer-CI 5d2a37b122 Bot Updating Package Versions 2022-10-25 02:07:31 -05:00
LinuxServer-CI 52378c9c09 Bot Updating Package Versions 2022-10-18 02:08:28 -05:00
LinuxServer-CI f58926b68c Bot Updating Package Versions 2022-10-11 01:56:40 -05:00
LinuxServer-CI 124f57dac9 Bot Updating Package Versions 2022-10-05 19:32:05 +02:00
Adam b8b59937b5
Merge pull request #153 from linuxserver/mods-n-things-edge 2022-10-05 18:29:28 +01:00
TheSpad 0122712ce7
Delete obsolete docker-mods 2022-10-05 18:07:04 +01:00
TheSpad 533d182af5
Pull docker-mods from repo, install jq 2022-10-05 18:05:08 +01:00
LinuxServer-CI ced4151423 Bot Updating Package Versions 2022-10-04 08:45:35 +02:00
LinuxServer-CI fa1f6346b3 Bot Updating Package Versions 2022-09-27 02:02:46 -05:00
LinuxServer-CI bfa368d72a Bot Updating Package Versions 2022-09-20 02:02:58 -05:00
LinuxServer-CI 8777ae5846 Bot Updating Templated Files 2022-09-20 01:59:00 -05:00
Eric Nemchik 2fd631bcab
Merge pull request #147 from linuxserver/custom-svc-clean-edge
Remove custom svc from user bundle
2022-09-13 07:04:39 -05:00
TheSpad a8d588a1ab
Add user bundle removal to legacy block too 2022-09-13 11:19:49 +01:00
TheSpad 8578bfaae9
Fix errors if custom dir is mounted but empty 2022-09-13 11:13:24 +01:00
TheSpad a7a7279625
Don't write readme to services.d 2022-09-13 11:02:38 +01:00
TheSpad 68bbac5106
Remove custom svc from user bundle 2022-09-13 11:01:41 +01:00
LinuxServer-CI 2ff83b7d5e Bot Updating Package Versions 2022-09-13 09:04:59 +02:00
LinuxServer-CI 890ccb111e Bot Updating Package Versions 2022-09-09 23:11:05 +02:00
Adam 083ad3333e
Merge pull request #145 from linuxserver/edge-custom-rework 2022-09-09 22:09:02 +01:00
TheSpad b21fa71c22
Use DIR vars for folder check 2022-09-09 19:45:10 +01:00
TheSpad 019aa0a3d1
Move var declaration to top of file for clarity. 2022-09-09 16:39:24 +01:00
TheSpad 54f6d84100
Remove the *old* scripts dir, not the new one 2022-09-09 16:22:45 +01:00
TheSpad e109ae692e
Fix missing output prefix 2022-09-06 15:46:58 +01:00
TheSpad 0a22896061
Standardise output 2022-09-06 15:45:38 +01:00
TheSpad c21860dab0
Handle multiple mods cleanly 2022-09-06 11:04:56 +01:00
TheSpad ce139478ca
Remove Fedora logic 2022-09-06 10:52:16 +01:00
TheSpad eab3b6ba11
Fix package install logic 2022-09-06 09:45:47 +01:00
LinuxServer-CI cab3eeadd4 Bot Updating Package Versions 2022-09-06 02:08:24 -05:00
TheSpad 9b539b59ab
Fix pip args 2022-09-05 22:32:17 +01:00
TheSpad f121ec8620
Allow word splitting 2022-09-05 21:55:44 +01:00
TheSpad 02a44ac5cc
Rework legacy custom file handling 2022-09-05 17:50:07 +01:00
aptalca f49f2a7ff7
Merge pull request #139 from linuxserver/custom-user-bundle-edge
Add custom services to user bundle
2022-09-03 08:38:43 -04:00
TheSpad a97c9e1e38
Remove vscode's trailling spaces 2022-09-03 11:09:07 +01:00
TheSpad 84b75be898
Add custom services to user bundle 2022-09-03 11:06:41 +01:00
LinuxServer-CI 4e105eaa63 Bot Updating Package Versions 2022-09-02 16:10:10 +02:00
Adam a69767921d
Merge pull request #135 from linuxserver/fix-custom-svc-logic-edge 2022-09-02 15:07:47 +01:00
TheSpad 6053d93709
Fix custom svc logic 2022-09-02 11:02:50 +01:00
LinuxServer-CI 1daac311c0 Bot Updating Package Versions 2022-08-30 04:54:08 -05:00
Adam 30bfc83a2f
Merge pull request #129 from linuxserver/custom-script-banner-edge 2022-08-30 10:51:31 +01:00
LinuxServer-CI 7570b86c3b Bot Updating Package Versions 2022-08-30 02:00:49 -05:00
TheSpad b0b95aaf4a
Bump s6 to 3.1.2.1 to fix regression 2022-08-29 23:07:09 +01:00
TheSpad c344d785c5
Fix missing exit 2022-08-28 23:18:44 +01:00
TheSpad c5a4ced80b
Fix custom script banner tee 2022-08-28 23:17:46 +01:00
Adam ed49acfed9
Merge pull request #124 from linuxserver/scriptcheck-fix-edge 2022-08-28 22:02:56 +01:00
TheSpad 84040bc356
Fix tamper check for custom files 2022-08-28 20:31:20 +01:00
TheSpad fe4b20c671
Fix exit code 2022-08-28 20:19:55 +01:00
LinuxServer-CI 29137ee134 Bot Updating Package Versions 2022-08-28 13:10:18 -05:00
LinuxServer-CI 2ebffb0738 Bot Updating Templated Files 2022-08-28 13:07:49 -05:00
Adam 0d0b87bb49
Fully v3ify edge image (#120)
Co-authored-by: Eric Nemchik <eric@nemchik.com>
2022-08-28 19:06:31 +01:00
LinuxServer-CI 62ae36fb72 Bot Updating Package Versions 2022-08-23 01:42:08 -05:00
LinuxServer-CI 04211457f4 Bot Updating Package Versions 2022-08-16 01:34:09 -05:00
LinuxServer-CI 4d37e5c5c3 Bot Updating Package Versions 2022-08-09 08:36:13 +02:00
LinuxServer-CI 5d3b1775c9 Bot Updating Package Versions 2022-07-31 07:35:07 -05:00
aptalca eff3e3eedc
Merge pull request #115 from linuxserver/mod-package-edge
Universal mod package install
2022-07-31 08:32:39 -04:00
TheSpad 49dd15767a
Remove "nothing to do" echo 2022-07-29 17:26:02 +01:00
TheSpad e76811827f
Fix apk path 2022-07-29 17:23:40 +01:00
TheSpad 590130ad99
Only install required deps 2022-07-29 16:08:05 +01:00
TheSpad 1b550ca3f9
Universal mod package install 2022-07-29 15:50:47 +01:00
aptalca 2737e61942
Merge pull request #111 from linuxserver/mod-init-edge
Add mod-init
2022-07-26 12:37:29 -04:00
TheSpad 18c31c9b0c
Add init-services anchor 2022-07-23 12:56:43 +01:00
TheSpad d99cb187ee
Add mod-init 2022-07-22 20:56:06 +01:00
LinuxServer-CI b1212c2c63 Bot Updating Package Versions 2022-07-22 14:09:53 -05:00
Adam 6940c21a26
Merge pull request #104 from linuxserver/hybrid-mods-edge 2022-07-22 20:07:22 +01:00
TheSpad ae04d9f853
Fix curl retry 2022-07-22 15:56:21 +01:00
TheSpad 303d9e527a
Support hybrid mods 2022-07-22 15:49:00 +01:00
LinuxServer-CI 180013c3ff Bot Updating Package Versions 2022-07-19 01:34:32 -05:00
LinuxServer-CI 8306959bdf Bot Updating Package Versions 2022-07-12 01:35:33 -05:00
LinuxServer-CI a920f18aad Bot Updating Package Versions 2022-07-05 01:34:09 -05:00
LinuxServer-CI d8263b9b59 Bot Updating Package Versions 2022-06-28 08:34:30 +02:00
LinuxServer-CI fd841ad988 Bot Updating Package Versions 2022-06-20 19:06:37 -05:00
TheSpad 4020c0ea29 Fix umask handling for s6 v3 2022-06-20 20:04:13 -04:00
Adam 71347b20aa
Merge pull request #100 from linuxserver/edge-arch 2022-06-15 15:42:57 +01:00
TheSpad 734ee147d6
Fix s6 arch 2022-06-15 15:35:17 +01:00
aptalca bd048d2dab
Merge pull request #99 from linuxserver/edge-timeout
Set s6 service max timeout to 0
2022-06-14 12:17:00 -04:00
TheSpad aeedb5a69c
Set s6 service max timeout to 0 2022-06-14 16:05:04 +01:00
LinuxServer-CI 6d04250a39 Bot Updating Package Versions 2022-06-13 23:20:42 +02:00
Adam 7bc173af84
Merge pull request #96 from linuxserver/s6-3.1.0.1-edge
Migrate Edge base to s6 v3.1.0.1
2022-06-13 22:18:22 +01:00
LinuxServer-CI 1b555292e6 Bot Updating Package Versions 2022-06-07 01:32:46 -05:00
TheSpad 1e7c0ef688
Trailing newline 2022-06-03 17:33:27 +01:00
TheSpad 04de9a73ff
Fix shim service path 2022-06-03 14:41:46 +01:00
TheSpad badd6b7ed5
Add compatibility shim for v2 scandir 2022-06-03 14:31:18 +01:00
LinuxServer-CI 3e715f2556 Bot Updating Package Versions 2022-05-31 01:34:21 -05:00
TheSpad c09dc7bb58
Fix missing rootfs stage packages 2022-05-29 17:13:26 +01:00
TheSpad bcd66ca9d5
Initial s6 v3 commit 2022-05-29 17:11:29 +01:00
LinuxServer-CI 9932e2d924 Bot Updating Package Versions 2022-05-24 08:34:16 +02:00
LinuxServer-CI 2bfe2a86ac Bot Updating Package Versions 2022-05-17 01:34:44 -05:00
LinuxServer-CI ad1368e6ba Bot Updating Package Versions 2022-05-10 01:33:57 -05:00
LinuxServer-CI e7b17bad12 Bot Updating Package Versions 2022-05-03 08:33:32 +02:00
LinuxServer-CI e3e9c396a1 Bot Updating Package Versions 2022-04-26 08:33:08 +02:00
LinuxServer-CI 74609f330b Bot Updating Package Versions 2022-04-21 14:07:34 -05:00
aptalca 9c1b874f34
Merge pull request #89 from linuxserver/edge-modcurl
add retry to mod curls
2022-04-21 15:04:50 -04:00
aptalca fb54e102f6 add retry to mod curls 2022-04-20 09:52:23 -04:00
LinuxServer-CI acc7f819bd Bot Updating Package Versions 2022-04-19 08:33:17 +02:00
LinuxServer-CI 511d84e574 Bot Updating Package Versions 2022-04-12 01:32:40 -05:00
LinuxServer-CI b2fbba6342 Bot Updating Package Versions 2022-04-05 08:32:40 +02:00
LinuxServer-CI 070dab87cb Bot Updating Package Versions 2022-03-29 01:32:21 -05:00
LinuxServer-CI e90b30c8b4 Bot Updating Package Versions 2022-03-22 07:31:28 +01:00
LinuxServer-CI c9237aaa39 Bot Updating Package Versions 2022-03-15 01:31:36 -05:00
LinuxServer-CI b1377c0b7c Bot Updating Package Versions 2022-03-08 07:31:23 +01:00
LinuxServer-CI 9809b45ad3 Bot Updating Package Versions 2022-03-01 07:31:29 +01:00
LinuxServer-CI 8703692f9b Bot Updating Package Versions 2022-02-23 20:37:25 +01:00
thelamer 6db4cd0ec3 add edge branch 2022-02-23 11:31:17 -08:00
24 changed files with 657 additions and 127 deletions

View file

@ -1,15 +0,0 @@
name: build
run-name: ${{ gitea.actor }} is building baseimage-alpine
on:
push:
branches:
- 'master'
jobs:
build:
runs-on: podman
steps:
- uses: actions/checkout@v3
- run: podman login --username registry --password ${{ secrets.MEATBAG_REGISTRY_TOKEN }} registry.meatbag.se
- run: podman build -t meatbag/baseimage-alpine:latest .
- run: podman push meatbag/baseimage-alpine registry.meatbag.se/meatbag/baseimage-alpine

123
.github/CONTRIBUTING.md vendored Executable file
View file

@ -0,0 +1,123 @@
# Contributing to baseimage-alpine
## Gotchas
* While contributing make sure to make all your changes before creating a Pull Request, as our pipeline builds each commit after the PR is open.
* Read, and fill the Pull Request template
* If this is a fix for a typo (in code, documentation, or the README) please file an issue and let us sort it out. We do not need a PR
* If the PR is addressing an existing issue include, closes #\<issue number>, in the body of the PR commit message
* If you want to discuss changes, you can also bring it up in [#dev-talk](https://discordapp.com/channels/354974912613449730/757585807061155840) in our [Discord server](https://linuxserver.io/discord)
## Common files
| File | Use case |
| :----: | --- |
| `Dockerfile` | Dockerfile used to build amd64 images |
| `Dockerfile.aarch64` | Dockerfile used to build 64bit ARM architectures |
| `Dockerfile.armhf` | Dockerfile used to build 32bit ARM architectures |
| `Jenkinsfile` | This file is a product of our builder and should not be edited directly. This is used to build the image |
| `jenkins-vars.yml` | This file is used to generate the `Jenkinsfile` mentioned above, it only affects the build-process |
| `package_versions.txt` | This file is generated as a part of the build-process and should not be edited directly. It lists all the installed packages and their versions |
| `README.md` | This file is a product of our builder and should not be edited directly. This displays the readme for the repository and image registries |
| `readme-vars.yml` | This file is used to generate the `README.md` |
## Readme
If you would like to change our readme, please __**do not**__ directly edit the readme, as it is auto-generated on each commit.
Instead edit the [readme-vars.yml](https://github.com/linuxserver/docker-baseimage-alpine/edit/edge/readme-vars.yml).
These variables are used in a template for our [Jenkins Builder](https://github.com/linuxserver/docker-jenkins-builder) as part of an ansible play.
Most of these variables are also carried over to [docs.linuxserver.io](https://docs.linuxserver.io)
### Fixing typos or clarify the text in the readme
There are variables for multiple parts of the readme, the most common ones are:
| Variable | Description |
| :----: | --- |
| `project_blurb` | This is the short excerpt shown above the project logo. |
| `app_setup_block` | This is the text that shows up under "Application Setup" if enabled |
### Parameters
The compose and run examples are also generated from these variables.
We have a [reference file](https://github.com/linuxserver/docker-jenkins-builder/blob/master/vars/_container-vars-blank) in our Jenkins Builder.
These are prefixed with `param_` for required parameters, or `opt_param` for optional parameters, except for `cap_add`.
Remember to enable param, if currently disabled. This differs between parameters, and can be seen in the reference file.
Devices, environment variables, ports and volumes expects its variables in a certain way.
### Devices
```yml
param_devices:
- { device_path: "/dev/dri", device_host_path: "/dev/dri", desc: "For hardware transcoding" }
opt_param_devices:
- { device_path: "/dev/dri", device_host_path: "/dev/dri", desc: "For hardware transcoding" }
```
### Environment variables
```yml
param_env_vars:
- { env_var: "TZ", env_value: "Europe/London", desc: "Specify a timezone to use EG Europe/London." }
opt_param_env_vars:
- { env_var: "VERSION", env_value: "latest", desc: "Supported values are LATEST, PLEXPASS or a specific version number." }
```
### Ports
```yml
param_ports:
- { external_port: "80", internal_port: "80", port_desc: "Application WebUI" }
opt_param_ports:
- { external_port: "80", internal_port: "80", port_desc: "Application WebUI" }
```
### Volumes
```yml
param_volumes:
- { vol_path: "/config", vol_host_path: "</path/to/appdata/config>", desc: "Configuration files." }
opt_param_volumes:
- { vol_path: "/config", vol_host_path: "</path/to/appdata/config>", desc: "Configuration files." }
```
### Testing template changes
After you make any changes to the templates, you can use our [Jenkins Builder](https://github.com/linuxserver/docker-jenkins-builder) to have the files updated from the modified templates. Please use the command found under `Running Locally` [on this page](https://github.com/linuxserver/docker-jenkins-builder/blob/master/README.md) to generate them prior to submitting a PR.
## Dockerfiles
We use multiple Dockerfiles in our repos, this is because sometimes some CPU architectures needs different packages to work.
If you are proposing additional packages to be added, ensure that you added the packages to all the Dockerfiles in alphabetical order.
### Testing your changes
```bash
git clone https://github.com/linuxserver/docker-baseimage-alpine.git
cd docker-baseimage-alpine
docker build \
--no-cache \
--pull \
-t linuxserver/baseimage-alpine:latest .
```
The ARM variants can be built on x86_64 hardware and vice versa using `lscr.io/linuxserver/qemu-static`
```bash
docker run --rm --privileged lscr.io/linuxserver/qemu-static --reset
```
Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64`.
## Update the changelog
If you are modifying the Dockerfiles or any of the startup scripts in [root](https://github.com/linuxserver/docker-baseimage-alpine/tree/edge/root), add an entry to the changelog
```yml
changelogs:
- { date: "DD.MM.YY:", desc: "Added some love to templates" }
```

2
.github/FUNDING.yml vendored Executable file
View file

@ -0,0 +1,2 @@
github: linuxserver
open_collective: linuxserver

13
.github/ISSUE_TEMPLATE/config.yml vendored Executable file
View file

@ -0,0 +1,13 @@
blank_issues_enabled: false
contact_links:
- name: Discord chat support
url: https://linuxserver.io/discord
about: Realtime support / chat with the community and the team.
- name: Discourse discussion forum
url: https://discourse.linuxserver.io
about: Post on our community forum.
- name: Documentation
url: https://docs.linuxserver.io
about: Documentation - information about all of our containers.

68
.github/ISSUE_TEMPLATE/issue.bug.yml vendored Executable file
View file

@ -0,0 +1,68 @@
# Based on the issue template
name: Bug report
description: Create a report to help us improve
title: "[BUG] <title>"
labels: [Bug]
body:
- type: checkboxes
attributes:
label: Is there an existing issue for this?
description: Please search to see if an issue already exists for the bug you encountered.
options:
- label: I have searched the existing issues
required: true
- type: textarea
attributes:
label: Current Behavior
description: Tell us what happens instead of the expected behavior.
validations:
required: true
- type: textarea
attributes:
label: Expected Behavior
description: Tell us what should happen.
validations:
required: false
- type: textarea
attributes:
label: Steps To Reproduce
description: Steps to reproduce the behavior.
placeholder: |
1. In this environment...
2. With this config...
3. Run '...'
4. See error...
validations:
required: true
- type: textarea
attributes:
label: Environment
description: |
examples:
- **OS**: Ubuntu 20.04
- **How docker service was installed**: distro's packagemanager
value: |
- OS:
- How docker service was installed:
render: markdown
validations:
required: false
- type: textarea
attributes:
label: Docker creation
description: |
Command used to create docker container
Provide your docker create/run command or compose yaml snippet, or a screenshot of settings if using a gui to create the container
render: bash
validations:
required: true
- type: textarea
attributes:
description: |
Provide a full docker log, output of "docker logs baseimage-alpine"
label: Container logs
placeholder: |
Output of `docker logs baseimage-alpine`
render: bash
validations:
required: true

31
.github/ISSUE_TEMPLATE/issue.feature.yml vendored Executable file
View file

@ -0,0 +1,31 @@
# Based on the issue template
name: Feature request
description: Suggest an idea for this project
title: "[FEAT] <title>"
labels: [enhancement]
body:
- type: checkboxes
attributes:
label: Is this a new feature request?
description: Please search to see if a feature request already exists.
options:
- label: I have searched the existing issues
required: true
- type: textarea
attributes:
label: Wanted change
description: Tell us what you want to happen.
validations:
required: true
- type: textarea
attributes:
label: Reason for change
description: Justify your request, why do you want it, what is the benefit.
validations:
required: true
- type: textarea
attributes:
label: Proposed code change
description: Do you have a potential code change in mind?
validations:
required: false

43
.github/PULL_REQUEST_TEMPLATE.md vendored Normal file
View file

@ -0,0 +1,43 @@
<!--- Provide a general summary of your changes in the Title above -->
[linuxserverurl]: https://linuxserver.io
[![linuxserver.io](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver_medium.png)][linuxserverurl]
<!--- Before submitting a pull request please check the following -->
<!--- If this is a fix for a typo (in code, documentation, or the README) please file an issue and let us sort it out. We do not need a PR -->
<!--- Ask yourself if this modification is something the whole userbase will benefit from, if this is a specific change for corner case functionality or plugins please look at making a Docker Mod or local script https://blog.linuxserver.io/2019/09/14/customizing-our-containers/ -->
<!--- That if the PR is addressing an existing issue include, closes #<issue number> , in the body of the PR commit message -->
<!--- You have included links to any files / patches etc your PR may be using in the body of the PR commit message -->
<!--- We maintain a changelog of major revisions to the container at the end of readme-vars.yml in the root of this repository, please add your changes there if appropriate -->
<!--- Coding guidelines: -->
<!--- 1. Installed packages in the Dockerfiles should be in alphabetical order -->
<!--- 2. Changes to Dockerfile should be replicated in Dockerfile.armhf and Dockerfile.aarch64 if applicable -->
<!--- 3. Indentation style (tabs vs 4 spaces vs 1 space) should match the rest of the document -->
<!--- 4. Readme is auto generated from readme-vars.yml, make your changes there -->
------------------------------
- [ ] I have read the [contributing](https://github.com/linuxserver/docker-baseimage-alpine/blob/edge/.github/CONTRIBUTING.md) guideline and understand that I have made the correct modifications
------------------------------
<!--- We welcome all PRs though this doesnt guarantee it will be accepted. -->
## Description:
<!--- Describe your changes in detail -->
## Benefits of this PR and context:
<!--- Please explain why we should accept this PR. If this fixes an outstanding bug, please reference the issue # -->
## How Has This Been Tested?
<!--- Please describe in detail how you tested your changes. -->
<!--- Include details of your testing environment, and the tests you ran to -->
<!--- see how your change affects other areas of the code, etc. -->
## Source / References:
<!--- Please include any forum posts/github links relevant to the PR -->

16
.github/workflows/call_issue_pr_tracker.yml vendored Executable file
View file

@ -0,0 +1,16 @@
name: Issue & PR Tracker
on:
issues:
types: [opened,reopened,labeled,unlabeled,closed]
pull_request_target:
types: [opened,reopened,review_requested,review_request_removed,labeled,unlabeled,closed]
pull_request_review:
types: [submitted,edited,dismissed]
jobs:
manage-project:
permissions:
issues: write
uses: linuxserver/github-workflows/.github/workflows/issue-pr-tracker.yml@v1
secrets: inherit

13
.github/workflows/call_issues_cron.yml vendored Executable file
View file

@ -0,0 +1,13 @@
name: Mark stale issues and pull requests
on:
schedule:
- cron: '9 11 * * *'
workflow_dispatch:
jobs:
stale:
permissions:
issues: write
pull-requests: write
uses: linuxserver/github-workflows/.github/workflows/issues-cron.yml@v1
secrets: inherit

25
.github/workflows/external_trigger.yml vendored Normal file
View file

@ -0,0 +1,25 @@
name: External Trigger Main
on:
workflow_dispatch:
jobs:
external-trigger-edge:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
- name: External Trigger
if: github.ref == 'refs/heads/edge'
env:
SKIP_EXTERNAL_TRIGGER: ${{ vars.SKIP_EXTERNAL_TRIGGER }}
run: |
printf "# External trigger for docker-baseimage-alpine\n\n" >> $GITHUB_STEP_SUMMARY
echo "Type is \`os\`" >> $GITHUB_STEP_SUMMARY
echo "No external release, exiting" >> $GITHUB_STEP_SUMMARY
exit 0
if grep -q "^baseimage-alpine_edge_${EXT_RELEASE}" <<< "${SKIP_EXTERNAL_TRIGGER}"; then
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
echo "> Github organizational variable \`SKIP_EXTERNAL_TRIGGER\` matches current external release; skipping trigger." >> $GITHUB_STEP_SUMMARY
exit 0
fi

View file

@ -0,0 +1,45 @@
name: External Trigger Scheduler
on:
schedule:
- cron: '20 * * * *'
workflow_dispatch:
jobs:
external-trigger-scheduler:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
with:
fetch-depth: '0'
- name: External Trigger Scheduler
run: |
printf "# External trigger scheduler for docker-baseimage-alpine\n\n" >> $GITHUB_STEP_SUMMARY
printf "Found the branches:\n\n%s\n" "$(git for-each-ref --format='- %(refname:lstrip=3)' refs/remotes)" >> $GITHUB_STEP_SUMMARY
for br in $(git for-each-ref --format='%(refname:lstrip=3)' refs/remotes)
do
if [[ "${br}" == "HEAD" ]]; then
printf "\nSkipping %s.\n" ${br} >> $GITHUB_STEP_SUMMARY
continue
fi
printf "\n## Evaluating \`%s\`\n\n" ${br} >> $GITHUB_STEP_SUMMARY
ls_jenkins_vars=$(curl -sX GET https://raw.githubusercontent.com/linuxserver/docker-baseimage-alpine/${br}/jenkins-vars.yml)
ls_branch=$(echo "${ls_jenkins_vars}" | yq -r '.ls_branch')
ls_trigger=$(echo "${ls_jenkins_vars}" | yq -r '.external_type')
if [[ "${br}" == "${ls_branch}" ]] && [[ "${ls_trigger}" != "os" ]]; then
echo "Branch appears to be live and trigger is not os; checking workflow." >> $GITHUB_STEP_SUMMARY
if curl -sfX GET https://raw.githubusercontent.com/linuxserver/docker-baseimage-alpine/${br}/.github/workflows/external_trigger.yml > /dev/null 2>&1; then
echo "Triggering external trigger workflow for branch." >> $GITHUB_STEP_SUMMARY
curl -iX POST \
-H "Authorization: token ${{ secrets.CR_PAT }}" \
-H "Accept: application/vnd.github.v3+json" \
-d "{\"ref\":\"refs/heads/${br}\"}" \
https://api.github.com/repos/linuxserver/docker-baseimage-alpine/actions/workflows/external_trigger.yml/dispatches
else
echo "Skipping branch due to no external trigger workflow present." >> $GITHUB_STEP_SUMMARY
fi
else
echo "Skipping branch due to being detected as dev branch or having no external version." >> $GITHUB_STEP_SUMMARY
fi
done

13
.github/workflows/greetings.yml vendored Executable file
View file

@ -0,0 +1,13 @@
name: Greetings
on: [pull_request_target, issues]
jobs:
greeting:
runs-on: ubuntu-latest
steps:
- uses: actions/first-interaction@v1
with:
issue-message: 'Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.'
pr-message: 'Thanks for opening this pull request! Be sure to follow the [pull request template](https://github.com/linuxserver/docker-baseimage-alpine/blob/edge/.github/PULL_REQUEST_TEMPLATE.md)!'
repo-token: ${{ secrets.GITHUB_TOKEN }}

View file

@ -0,0 +1,100 @@
name: Package Trigger Scheduler
on:
schedule:
- cron: '15 13 * * 6'
workflow_dispatch:
jobs:
package-trigger-scheduler:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
with:
fetch-depth: '0'
- name: Package Trigger Scheduler
env:
SKIP_PACKAGE_TRIGGER: ${{ vars.SKIP_PACKAGE_TRIGGER }}
run: |
printf "# Package trigger scheduler for docker-baseimage-alpine\n\n" >> $GITHUB_STEP_SUMMARY
printf "Found the branches:\n\n%s\n" "$(git for-each-ref --format='- %(refname:lstrip=3)' refs/remotes)" >> $GITHUB_STEP_SUMMARY
for br in $(git for-each-ref --format='%(refname:lstrip=3)' refs/remotes)
do
if [[ "${br}" == "HEAD" ]]; then
printf "\nSkipping %s.\n" ${br} >> $GITHUB_STEP_SUMMARY
continue
fi
printf "\n## Evaluating \`%s\`\n\n" ${br} >> $GITHUB_STEP_SUMMARY
JENKINS_VARS=$(curl -sX GET https://raw.githubusercontent.com/linuxserver/docker-baseimage-alpine/${br}/jenkins-vars.yml)
if ! curl -sfX GET https://raw.githubusercontent.com/linuxserver/docker-baseimage-alpine/${br}/Jenkinsfile >/dev/null 2>&1; then
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
echo "> No Jenkinsfile found. Branch is either deprecated or is an early dev branch." >> $GITHUB_STEP_SUMMARY
skipped_branches="${skipped_branches}${br} "
elif [[ "${br}" == $(yq -r '.ls_branch' <<< "${JENKINS_VARS}") ]]; then
echo "Branch appears to be live; checking workflow." >> $GITHUB_STEP_SUMMARY
README_VARS=$(curl -sX GET https://raw.githubusercontent.com/linuxserver/docker-baseimage-alpine/${br}/readme-vars.yml)
if [[ $(yq -r '.project_deprecation_status' <<< "${README_VARS}") == "true" ]]; then
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
echo "> Branch appears to be deprecated; skipping trigger." >> $GITHUB_STEP_SUMMARY
skipped_branches="${skipped_branches}${br} "
elif [[ $(yq -r '.skip_package_check' <<< "${JENKINS_VARS}") == "true" ]]; then
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
echo "> Skipping branch ${br} due to \`skip_package_check\` being set in \`jenkins-vars.yml\`." >> $GITHUB_STEP_SUMMARY
skipped_branches="${skipped_branches}${br} "
elif grep -q "^baseimage-alpine_${br}" <<< "${SKIP_PACKAGE_TRIGGER}"; then
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
echo "> Github organizational variable \`SKIP_PACKAGE_TRIGGER\` contains \`baseimage-alpine_${br}\`; skipping trigger." >> $GITHUB_STEP_SUMMARY
skipped_branches="${skipped_branches}${br} "
elif [ $(curl -s https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-baseimage-alpine/job/${br}/lastBuild/api/json | jq -r '.building' 2>/dev/null) == "true" ]; then
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
echo "> There already seems to be an active build on Jenkins; skipping package trigger for ${br}" >> $GITHUB_STEP_SUMMARY
skipped_branches="${skipped_branches}${br} "
else
echo "> [!NOTE]" >> $GITHUB_STEP_SUMMARY
echo "> Triggering package trigger for branch ${br}" >> $GITHUB_STEP_SUMMARY
printf "> To disable, add \`baseimage-alpine_%s\` into the Github organizational variable \`SKIP_PACKAGE_TRIGGER\`.\n\n" "${br}" >> $GITHUB_STEP_SUMMARY
triggered_branches="${triggered_branches}${br} "
response=$(curl -iX POST \
https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-baseimage-alpine/job/${br}/buildWithParameters?PACKAGE_CHECK=true \
--user ${{ secrets.JENKINS_USER }}:${{ secrets.JENKINS_TOKEN }} | grep -i location | sed "s|^[L|l]ocation: \(.*\)|\1|")
if [[ -z "${response}" ]]; then
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
echo "> Jenkins build could not be triggered. Skipping branch."
continue
fi
echo "Jenkins [job queue url](${response%$'\r'})" >> $GITHUB_STEP_SUMMARY
echo "Sleeping 10 seconds until job starts" >> $GITHUB_STEP_SUMMARY
sleep 10
buildurl=$(curl -s "${response%$'\r'}api/json" | jq -r '.executable.url')
buildurl="${buildurl%$'\r'}"
echo "Jenkins job [build url](${buildurl})" >> $GITHUB_STEP_SUMMARY
echo "Attempting to change the Jenkins job description" >> $GITHUB_STEP_SUMMARY
if ! curl -ifX POST \
"${buildurl}submitDescription" \
--user ${{ secrets.JENKINS_USER }}:${{ secrets.JENKINS_TOKEN }} \
--data-urlencode "description=GHA package trigger https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" \
--data-urlencode "Submit=Submit"; then
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
echo "> Unable to change the Jenkins job description."
fi
sleep 20
fi
else
echo "Skipping branch ${br} due to being detected as dev branch." >> $GITHUB_STEP_SUMMARY
fi
done
if [[ -n "${triggered_branches}" ]] || [[ -n "${skipped_branches}" ]]; then
if [[ -n "${triggered_branches}" ]]; then
NOTIFY_BRANCHES="**Triggered:** ${triggered_branches} \n"
NOTIFY_BUILD_URL="**Build URL:** https://ci.linuxserver.io/blue/organizations/jenkins/Docker-Pipeline-Builders%2Fdocker-baseimage-alpine/activity/ \n"
echo "**** Package check build(s) triggered for branch(es): ${triggered_branches} ****"
fi
if [[ -n "${skipped_branches}" ]]; then
NOTIFY_BRANCHES="${NOTIFY_BRANCHES}**Skipped:** ${skipped_branches} \n"
fi
echo "**** Notifying Discord ****"
curl -X POST -H "Content-Type: application/json" --data '{"avatar_url": "https://cdn.discordapp.com/avatars/354986384542662657/df91181b3f1cf0ef1592fbe18e0962d7.png","embeds": [{"color": 9802903,
"description": "**Package Check Build(s) for baseimage-alpine** \n'"${NOTIFY_BRANCHES}"''"${NOTIFY_BUILD_URL}"'"}],
"username": "Github Actions"}' ${{ secrets.DISCORD_WEBHOOK }}
fi

12
.github/workflows/permissions.yml vendored Executable file
View file

@ -0,0 +1,12 @@
name: Permission check
on:
pull_request_target:
paths:
- '**/run'
- '**/finish'
- '**/check'
- 'root/migrations/*'
jobs:
permission_check:
uses: linuxserver/github-workflows/.github/workflows/init-svc-executable-permissions.yml@v1

View file

@ -1,10 +1,10 @@
# syntax=docker/dockerfile:1
FROM alpine:3.20 AS rootfs-stage
FROM alpine:3 AS rootfs-stage
# environment
ENV ROOTFS=/root-out
ENV REL=v3.21
ENV REL=edge
ENV ARCH=x86_64
ENV MIRROR=http://dl-cdn.alpinelinux.org/alpine
ENV PACKAGES=alpine-baselayout,\
@ -75,7 +75,6 @@ ENV PS1="$(whoami)@$(hostname):$(pwd)\\$ " \
RUN \
echo "**** install runtime packages ****" && \
apk add --no-cache \
alpine-release \
bash \
ca-certificates \
catatonit \

View file

@ -1,10 +1,10 @@
# syntax=docker/dockerfile:1
FROM alpine:3.20 AS rootfs-stage
FROM alpine:3 AS rootfs-stage
# environment
ENV ROOTFS=/root-out
ENV REL=v3.21
ENV REL=edge
ENV ARCH=aarch64
ENV MIRROR=http://dl-cdn.alpinelinux.org/alpine
ENV PACKAGES=alpine-baselayout,\
@ -75,7 +75,6 @@ ENV PS1="$(whoami)@$(hostname):$(pwd)\\$ " \
RUN \
echo "**** install runtime packages ****" && \
apk add --no-cache \
alpine-release \
bash \
ca-certificates \
catatonit \
@ -96,6 +95,11 @@ RUN \
/config \
/defaults \
/lsiopy && \
echo "**** add qemu ****" && \
curl -o \
/usr/bin/qemu-aarch64-static -L \
"https://lsio-ci.ams3.digitaloceanspaces.com/qemu-aarch64-static" && \
chmod +x /usr/bin/qemu-aarch64-static && \
echo "**** cleanup ****" && \
rm -rf \
/tmp/*

102
Jenkinsfile vendored
View file

@ -76,7 +76,7 @@ pipeline {
script{
env.EXIT_STATUS = ''
env.LS_RELEASE = sh(
script: '''docker run --rm quay.io/skopeo/stable:v1 inspect docker://ghcr.io/${LS_USER}/${CONTAINER_NAME}:3.21 2>/dev/null | jq -r '.Labels.build_version' | awk '{print $3}' | grep '\\-ls' || : ''',
script: '''docker run --rm quay.io/skopeo/stable:v1 inspect docker://ghcr.io/${LS_USER}/${CONTAINER_NAME}:edge 2>/dev/null | jq -r '.Labels.build_version' | awk '{print $3}' | grep '\\-ls' || : ''',
returnStdout: true).trim()
env.LS_RELEASE_NOTES = sh(
script: '''cat readme-vars.yml | awk -F \\" '/date: "[0-9][0-9].[0-9][0-9].[0-9][0-9]:/ {print $4;exit;}' | sed -E ':a;N;$!ba;s/\\r{0,1}\\n/\\\\n/g' ''',
@ -105,7 +105,7 @@ pipeline {
script{
env.LS_TAG_NUMBER = sh(
script: '''#! /bin/bash
tagsha=$(git rev-list -n 1 3.21-${LS_RELEASE} 2>/dev/null)
tagsha=$(git rev-list -n 1 edge-${LS_RELEASE} 2>/dev/null)
if [ "${tagsha}" == "${COMMIT_SHA}" ]; then
echo ${LS_RELEASE_NUMBER}
elif [ -z "${GIT_COMMIT}" ]; then
@ -181,10 +181,10 @@ pipeline {
}
}
}
// If this is a master build use live docker endpoints
// If this is a edge build use live docker endpoints
stage("Set ENV live build"){
when {
branch "master"
branch "edge"
environment name: 'CHANGE_ID', value: ''
}
steps {
@ -194,13 +194,13 @@ pipeline {
env.GITLABIMAGE = 'registry.gitlab.com/linuxserver.io/' + env.LS_REPO + '/' + env.CONTAINER_NAME
env.QUAYIMAGE = 'quay.io/linuxserver.io/' + env.CONTAINER_NAME
if (env.MULTIARCH == 'true') {
env.CI_TAGS = 'amd64-3.21-' + env.EXT_RELEASE_CLEAN + '-ls' + env.LS_TAG_NUMBER + '|arm64v8-3.21-' + env.EXT_RELEASE_CLEAN + '-ls' + env.LS_TAG_NUMBER
env.CI_TAGS = 'amd64-edge-' + env.EXT_RELEASE_CLEAN + '-ls' + env.LS_TAG_NUMBER + '|arm64v8-edge-' + env.EXT_RELEASE_CLEAN + '-ls' + env.LS_TAG_NUMBER
} else {
env.CI_TAGS = '3.21-' + env.EXT_RELEASE_CLEAN + '-ls' + env.LS_TAG_NUMBER
env.CI_TAGS = 'edge-' + env.EXT_RELEASE_CLEAN + '-ls' + env.LS_TAG_NUMBER
}
env.VERSION_TAG = env.EXT_RELEASE_CLEAN + '-ls' + env.LS_TAG_NUMBER
env.META_TAG = '3.21-' + env.EXT_RELEASE_CLEAN + '-ls' + env.LS_TAG_NUMBER
env.EXT_RELEASE_TAG = '3.21-version-' + env.EXT_RELEASE_CLEAN
env.META_TAG = 'edge-' + env.EXT_RELEASE_CLEAN + '-ls' + env.LS_TAG_NUMBER
env.EXT_RELEASE_TAG = 'edge-version-' + env.EXT_RELEASE_CLEAN
env.BUILDCACHE = 'docker.io/lsiodev/buildcache,registry.gitlab.com/linuxserver.io/docker-jenkins-builder/lsiodev-buildcache,ghcr.io/linuxserver/lsiodev-buildcache,quay.io/linuxserver.io/lsiodev-buildcache'
}
}
@ -208,7 +208,7 @@ pipeline {
// If this is a dev build use dev docker endpoints
stage("Set ENV dev build"){
when {
not {branch "master"}
not {branch "edge"}
environment name: 'CHANGE_ID', value: ''
}
steps {
@ -218,13 +218,13 @@ pipeline {
env.GITLABIMAGE = 'registry.gitlab.com/linuxserver.io/' + env.LS_REPO + '/lsiodev-' + env.CONTAINER_NAME
env.QUAYIMAGE = 'quay.io/linuxserver.io/lsiodev-' + env.CONTAINER_NAME
if (env.MULTIARCH == 'true') {
env.CI_TAGS = 'amd64-3.21-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA + '|arm64v8-3.21-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA
env.CI_TAGS = 'amd64-edge-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA + '|arm64v8-edge-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA
} else {
env.CI_TAGS = '3.21-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA
env.CI_TAGS = 'edge-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA
}
env.VERSION_TAG = env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA
env.META_TAG = '3.21-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA
env.EXT_RELEASE_TAG = '3.21-version-' + env.EXT_RELEASE_CLEAN
env.META_TAG = 'edge-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA
env.EXT_RELEASE_TAG = 'edge-version-' + env.EXT_RELEASE_CLEAN
env.DOCKERHUB_LINK = 'https://hub.docker.com/r/' + env.DEV_DOCKERHUB_IMAGE + '/tags/'
env.BUILDCACHE = 'docker.io/lsiodev/buildcache,registry.gitlab.com/linuxserver.io/docker-jenkins-builder/lsiodev-buildcache,ghcr.io/linuxserver/lsiodev-buildcache,quay.io/linuxserver.io/lsiodev-buildcache'
}
@ -242,13 +242,13 @@ pipeline {
env.GITLABIMAGE = 'registry.gitlab.com/linuxserver.io/' + env.LS_REPO + '/lspipepr-' + env.CONTAINER_NAME
env.QUAYIMAGE = 'quay.io/linuxserver.io/lspipepr-' + env.CONTAINER_NAME
if (env.MULTIARCH == 'true') {
env.CI_TAGS = 'amd64-3.21-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA + '-pr-' + env.PULL_REQUEST + '|arm64v8-3.21-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA + '-pr-' + env.PULL_REQUEST
env.CI_TAGS = 'amd64-edge-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA + '-pr-' + env.PULL_REQUEST + '|arm64v8-edge-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA + '-pr-' + env.PULL_REQUEST
} else {
env.CI_TAGS = '3.21-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA + '-pr-' + env.PULL_REQUEST
env.CI_TAGS = 'edge-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA + '-pr-' + env.PULL_REQUEST
}
env.VERSION_TAG = env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA + '-pr-' + env.PULL_REQUEST
env.META_TAG = '3.21-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA + '-pr-' + env.PULL_REQUEST
env.EXT_RELEASE_TAG = '3.21-version-' + env.EXT_RELEASE_CLEAN
env.META_TAG = 'edge-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA + '-pr-' + env.PULL_REQUEST
env.EXT_RELEASE_TAG = 'edge-version-' + env.EXT_RELEASE_CLEAN
env.CODE_URL = 'https://github.com/' + env.LS_USER + '/' + env.LS_REPO + '/pull/' + env.PULL_REQUEST
env.DOCKERHUB_LINK = 'https://hub.docker.com/r/' + env.PR_DOCKERHUB_IMAGE + '/tags/'
env.BUILDCACHE = 'docker.io/lsiodev/buildcache,registry.gitlab.com/linuxserver.io/docker-jenkins-builder/lsiodev-buildcache,ghcr.io/linuxserver/lsiodev-buildcache,quay.io/linuxserver.io/lsiodev-buildcache'
@ -286,7 +286,7 @@ pipeline {
// Use helper containers to render templated files
stage('Update-Templates') {
when {
branch "master"
branch "edge"
environment name: 'CHANGE_ID', value: ''
expression {
env.CONTAINER_NAME != null
@ -298,24 +298,24 @@ pipeline {
TEMPDIR=$(mktemp -d)
docker pull ghcr.io/linuxserver/jenkins-builder:latest
# Cloned repo paths for templating:
# ${TEMPDIR}/docker-${CONTAINER_NAME}: Cloned branch master of ${LS_USER}/${LS_REPO} for running the jenkins builder on
# ${TEMPDIR}/repo/${LS_REPO}: Cloned branch master of ${LS_USER}/${LS_REPO} for commiting various templated file changes and pushing back to Github
# ${TEMPDIR}/docker-${CONTAINER_NAME}: Cloned branch edge of ${LS_USER}/${LS_REPO} for running the jenkins builder on
# ${TEMPDIR}/repo/${LS_REPO}: Cloned branch edge of ${LS_USER}/${LS_REPO} for commiting various templated file changes and pushing back to Github
# ${TEMPDIR}/docs/docker-documentation: Cloned docs repo for pushing docs updates to Github
# ${TEMPDIR}/unraid/docker-templates: Cloned docker-templates repo to check for logos
# ${TEMPDIR}/unraid/templates: Cloned templates repo for commiting unraid template changes and pushing back to Github
git clone --branch master --depth 1 https://github.com/${LS_USER}/${LS_REPO}.git ${TEMPDIR}/docker-${CONTAINER_NAME}
git clone --branch edge --depth 1 https://github.com/${LS_USER}/${LS_REPO}.git ${TEMPDIR}/docker-${CONTAINER_NAME}
docker run --rm -v ${TEMPDIR}/docker-${CONTAINER_NAME}:/tmp -e LOCAL=true -e PUID=$(id -u) -e PGID=$(id -g) ghcr.io/linuxserver/jenkins-builder:latest
echo "Starting Stage 1 - Jenkinsfile update"
if [[ "$(md5sum Jenkinsfile | awk '{ print $1 }')" != "$(md5sum ${TEMPDIR}/docker-${CONTAINER_NAME}/Jenkinsfile | awk '{ print $1 }')" ]]; then
mkdir -p ${TEMPDIR}/repo
git clone https://github.com/${LS_USER}/${LS_REPO}.git ${TEMPDIR}/repo/${LS_REPO}
cd ${TEMPDIR}/repo/${LS_REPO}
git checkout -f master
git checkout -f edge
cp ${TEMPDIR}/docker-${CONTAINER_NAME}/Jenkinsfile ${TEMPDIR}/repo/${LS_REPO}/
git add Jenkinsfile
git commit -m 'Bot Updating Templated Files'
git pull https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git master
git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git master
git pull https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git edge
git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git edge
echo "true" > /tmp/${COMMIT_SHA}-${BUILD_NUMBER}
echo "Updating Jenkinsfile and exiting build, new one will trigger based on commit"
rm -Rf ${TEMPDIR}
@ -334,13 +334,13 @@ pipeline {
mkdir -p ${TEMPDIR}/repo
git clone https://github.com/${LS_USER}/${LS_REPO}.git ${TEMPDIR}/repo/${LS_REPO}
cd ${TEMPDIR}/repo/${LS_REPO}
git checkout -f master
git checkout -f edge
for i in ${TEMPLATES_TO_DELETE}; do
git rm "${i}"
done
git commit -m 'Bot Updating Templated Files'
git pull https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git master
git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git master
git pull https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git edge
git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git edge
echo "true" > /tmp/${COMMIT_SHA}-${BUILD_NUMBER}
echo "Deleting old/deprecated templates and exiting build, new one will trigger based on commit"
rm -Rf ${TEMPDIR}
@ -356,7 +356,7 @@ pipeline {
mkdir -p ${TEMPDIR}/repo
git clone https://github.com/${LS_USER}/${LS_REPO}.git ${TEMPDIR}/repo/${LS_REPO}
cd ${TEMPDIR}/repo/${LS_REPO}
git checkout -f master
git checkout -f edge
cd ${TEMPDIR}/docker-${CONTAINER_NAME}
mkdir -p ${TEMPDIR}/repo/${LS_REPO}/.github/workflows
mkdir -p ${TEMPDIR}/repo/${LS_REPO}/.github/ISSUE_TEMPLATE
@ -369,8 +369,8 @@ pipeline {
fi
git add readme-vars.yml ${TEMPLATED_FILES}
git commit -m 'Bot Updating Templated Files'
git pull https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git master
git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git master
git pull https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git edge
git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git edge
echo "true" > /tmp/${COMMIT_SHA}-${BUILD_NUMBER}
echo "Updating templates and exiting build, new one will trigger based on commit"
rm -Rf ${TEMPDIR}
@ -437,7 +437,7 @@ pipeline {
// Exit the build if the Templated files were just updated
stage('Template-exit') {
when {
branch "master"
branch "edge"
environment name: 'CHANGE_ID', value: ''
environment name: 'FILES_UPDATED', value: 'true'
expression {
@ -450,10 +450,10 @@ pipeline {
}
}
}
// If this is a master build check the S6 service file perms
// If this is a edge build check the S6 service file perms
stage("Check S6 Service file Permissions"){
when {
branch "master"
branch "edge"
environment name: 'CHANGE_ID', value: ''
environment name: 'EXIT_STATUS', value: ''
}
@ -695,7 +695,7 @@ pipeline {
// Take the image we just built and dump package versions for comparison
stage('Update-packages') {
when {
branch "master"
branch "edge"
environment name: 'CHANGE_ID', value: ''
environment name: 'EXIT_STATUS', value: ''
}
@ -718,14 +718,14 @@ pipeline {
echo "Package tag sha from current packages in buit container is ${NEW_PACKAGE_TAG} comparing to old ${PACKAGE_TAG} from github"
if [ "${NEW_PACKAGE_TAG}" != "${PACKAGE_TAG}" ]; then
git clone https://github.com/${LS_USER}/${LS_REPO}.git ${TEMPDIR}/${LS_REPO}
git --git-dir ${TEMPDIR}/${LS_REPO}/.git checkout -f master
git --git-dir ${TEMPDIR}/${LS_REPO}/.git checkout -f edge
cp ${TEMPDIR}/package_versions.txt ${TEMPDIR}/${LS_REPO}/
cd ${TEMPDIR}/${LS_REPO}/
wait
git add package_versions.txt
git commit -m 'Bot Updating Package Versions'
git pull https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git master
git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git master
git pull https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git edge
git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git edge
echo "true" > /tmp/packages-${COMMIT_SHA}-${BUILD_NUMBER}
echo "Package tag updated, stopping build process"
else
@ -743,7 +743,7 @@ pipeline {
// Exit the build if the package file was just updated
stage('PACKAGE-exit') {
when {
branch "master"
branch "edge"
environment name: 'CHANGE_ID', value: ''
environment name: 'PACKAGE_UPDATED', value: 'true'
environment name: 'EXIT_STATUS', value: ''
@ -757,7 +757,7 @@ pipeline {
// Exit the build if this is just a package check and there are no changes to push
stage('PACKAGECHECK-exit') {
when {
branch "master"
branch "edge"
environment name: 'CHANGE_ID', value: ''
environment name: 'PACKAGE_UPDATED', value: 'false'
environment name: 'EXIT_STATUS', value: ''
@ -811,7 +811,7 @@ pipeline {
-e DOCKER_LOGS_TIMEOUT=\"${CI_DELAY}\" \
-e TAGS=\"${CI_TAGS}\" \
-e META_TAG=\"${META_TAG}\" \
-e RELEASE_TAG=\"3.21\" \
-e RELEASE_TAG=\"edge\" \
-e PORT=\"${CI_PORT}\" \
-e SSL=\"${CI_SSL}\" \
-e BASE=\"${DIST_IMAGE}\" \
@ -848,7 +848,7 @@ pipeline {
CACHEIMAGE=${i}
fi
done
docker buildx imagetools create --prefer-index=false -t ${PUSHIMAGE}:${META_TAG} -t ${PUSHIMAGE}:3.21 -t ${PUSHIMAGE}:${EXT_RELEASE_TAG} ${CACHEIMAGE}:amd64-${COMMIT_SHA}-${BUILD_NUMBER}
docker buildx imagetools create --prefer-index=false -t ${PUSHIMAGE}:${META_TAG} -t ${PUSHIMAGE}:edge -t ${PUSHIMAGE}:${EXT_RELEASE_TAG} ${CACHEIMAGE}:amd64-${COMMIT_SHA}-${BUILD_NUMBER}
if [ -n "${SEMVER}" ]; then
docker buildx imagetools create --prefer-index=false -t ${PUSHIMAGE}:${SEMVER} ${CACHEIMAGE}:amd64-${COMMIT_SHA}-${BUILD_NUMBER}
fi
@ -875,15 +875,15 @@ pipeline {
CACHEIMAGE=${i}
fi
done
docker buildx imagetools create --prefer-index=false -t ${MANIFESTIMAGE}:amd64-${META_TAG} -t ${MANIFESTIMAGE}:amd64-3.21 -t ${MANIFESTIMAGE}:amd64-${EXT_RELEASE_TAG} ${CACHEIMAGE}:amd64-${COMMIT_SHA}-${BUILD_NUMBER}
docker buildx imagetools create --prefer-index=false -t ${MANIFESTIMAGE}:arm64v8-${META_TAG} -t ${MANIFESTIMAGE}:arm64v8-3.21 -t ${MANIFESTIMAGE}:arm64v8-${EXT_RELEASE_TAG} ${CACHEIMAGE}:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER}
docker buildx imagetools create --prefer-index=false -t ${MANIFESTIMAGE}:amd64-${META_TAG} -t ${MANIFESTIMAGE}:amd64-edge -t ${MANIFESTIMAGE}:amd64-${EXT_RELEASE_TAG} ${CACHEIMAGE}:amd64-${COMMIT_SHA}-${BUILD_NUMBER}
docker buildx imagetools create --prefer-index=false -t ${MANIFESTIMAGE}:arm64v8-${META_TAG} -t ${MANIFESTIMAGE}:arm64v8-edge -t ${MANIFESTIMAGE}:arm64v8-${EXT_RELEASE_TAG} ${CACHEIMAGE}:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER}
if [ -n "${SEMVER}" ]; then
docker buildx imagetools create --prefer-index=false -t ${MANIFESTIMAGE}:amd64-${SEMVER} ${CACHEIMAGE}:amd64-${COMMIT_SHA}-${BUILD_NUMBER}
docker buildx imagetools create --prefer-index=false -t ${MANIFESTIMAGE}:arm64v8-${SEMVER} ${CACHEIMAGE}:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER}
fi
done
for MANIFESTIMAGE in "${IMAGE}" "${GITLABIMAGE}" "${GITHUBIMAGE}" "${QUAYIMAGE}"; do
docker buildx imagetools create -t ${MANIFESTIMAGE}:3.21 ${MANIFESTIMAGE}:amd64-3.21 ${MANIFESTIMAGE}:arm64v8-3.21
docker buildx imagetools create -t ${MANIFESTIMAGE}:edge ${MANIFESTIMAGE}:amd64-edge ${MANIFESTIMAGE}:arm64v8-edge
docker buildx imagetools create -t ${MANIFESTIMAGE}:${META_TAG} ${MANIFESTIMAGE}:amd64-${META_TAG} ${MANIFESTIMAGE}:arm64v8-${META_TAG}
docker buildx imagetools create -t ${MANIFESTIMAGE}:${EXT_RELEASE_TAG} ${MANIFESTIMAGE}:amd64-${EXT_RELEASE_TAG} ${MANIFESTIMAGE}:arm64v8-${EXT_RELEASE_TAG}
@ -898,7 +898,7 @@ pipeline {
// If this is a public release tag it in the LS Github
stage('Github-Tag-Push-Release') {
when {
branch "master"
branch "edge"
expression {
env.LS_RELEASE != env.EXT_RELEASE_CLEAN + '-ls' + env.LS_TAG_NUMBER
}
@ -910,17 +910,17 @@ pipeline {
sh '''curl -H "Authorization: token ${GITHUB_TOKEN}" -X POST https://api.github.com/repos/${LS_USER}/${LS_REPO}/git/tags \
-d '{"tag":"'${META_TAG}'",\
"object": "'${COMMIT_SHA}'",\
"message": "Tagging Release '${EXT_RELEASE_CLEAN}'-ls'${LS_TAG_NUMBER}' to master",\
"message": "Tagging Release '${EXT_RELEASE_CLEAN}'-ls'${LS_TAG_NUMBER}' to edge",\
"type": "commit",\
"tagger": {"name": "LinuxServer-CI","email": "ci@linuxserver.io","date": "'${GITHUB_DATE}'"}}' '''
echo "Pushing New release for Tag"
sh '''#! /bin/bash
echo "Updating base packages to ${PACKAGE_TAG}" > releasebody.json
echo '{"tag_name":"'${META_TAG}'",\
"target_commitish": "master",\
"target_commitish": "edge",\
"name": "'${META_TAG}'",\
"body": "**CI Report:**\\n\\n'${CI_URL:-N/A}'\\n\\n**LinuxServer Changes:**\\n\\n'${LS_RELEASE_NOTES}'\\n\\n**Remote Changes:**\\n\\n' > start
printf '","draft": false,"prerelease": false}' >> releasebody.json
printf '","draft": false,"prerelease": true}' >> releasebody.json
paste -d'\\0' start releasebody.json > releasebody.json.done
curl -H "Authorization: token ${GITHUB_TOKEN}" -X POST https://api.github.com/repos/${LS_USER}/${LS_REPO}/releases -d @releasebody.json.done'''
}
@ -928,14 +928,14 @@ pipeline {
// Add protection to the release branch
stage('Github-Release-Branch-Protection') {
when {
branch "master"
branch "edge"
environment name: 'CHANGE_ID', value: ''
environment name: 'EXIT_STATUS', value: ''
}
steps {
echo "Setting up protection for release branch master"
echo "Setting up protection for release branch edge"
sh '''#! /bin/bash
curl -H "Authorization: token ${GITHUB_TOKEN}" -X PUT https://api.github.com/repos/${LS_USER}/${LS_REPO}/branches/master/protection \
curl -H "Authorization: token ${GITHUB_TOKEN}" -X PUT https://api.github.com/repos/${LS_USER}/${LS_REPO}/branches/edge/protection \
-d $(jq -c . << EOF
{
"required_status_checks": null,

View file

@ -1 +1,29 @@
A custom base image built with [Alpine Linux](https://alpinelinux.org) and [s6-overlay](https://github.com/just-containers/s6-overlay).
<!-- DO NOT EDIT THIS FILE MANUALLY -->
<!-- Please read https://github.com/linuxserver/docker-baseimage-alpine/blob/edge/.github/CONTRIBUTING.md -->
[linuxserverurl]: https://linuxserver.io
[forumurl]: https://forum.linuxserver.io
[ircurl]: https://mibbit.com/?server=irc.libera.chat&channel=%23linuxserver.io
[appurl]: https://alpinelinux.org
[![linuxserver.io](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver_medium.png?v=4&s=4000)][linuxserverurl]
## Contact information:-
| Type | Address/Details |
| :---: | --- |
| Discord | [Discord](https://discord.gg/YWrKVTn) |
| IRC | libera at `#linuxserver.io` more information at:- [IRC][ircurl]
| Forum | [LinuxServer.io forum][forumurl] |
&nbsp;
&nbsp;
[![](https://images.microbadger.com/badges/image/lsiobase/alpine.svg)](https://microbadger.com/images/lsiobase/alpine "Get your own image badge on microbadger.com")
[![](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/Dockerfile-Link-green.png)](https://github.com/linuxserver/docker-baseimage-alpine/blob/master/Dockerfile)
A custom base image built with [Alpine linux][appurl] and [S6 overlay](https://github.com/just-containers/s6-overlay)..
The following line is only in this repo for loop testing:
- { date: "01.01.50:", desc: "I am the release message for this internal repo." }

View file

@ -3,11 +3,9 @@
# jenkins variables
project_name: docker-baseimage-alpine
external_type: os
release_type: stable
release_tag: "3.21"
ls_branch: master
image_sbom: true
image_provenance: true
release_type: prerelease
release_tag: edge
ls_branch: edge
repo_vars:
- BUILD_VERSION_ARG = 'OS'
- LS_USER = 'linuxserver'

View file

@ -1,51 +1,51 @@
NAME VERSION TYPE
acl-libs 2.3.2-r1 apk
alpine-baselayout 3.6.8-r1 apk
alpine-baselayout-data 3.6.8-r1 apk
alpine-baselayout 3.7.0-r0 apk
alpine-baselayout-data 3.7.0-r0 apk
alpine-keys 2.5-r0 apk
alpine-release 3.21.3-r0 apk
apk-tools 2.14.6-r3 apk
apk-tools 2.14.9-r1 apk
bash 5.2.37-r0 apk
brotli-libs 1.1.0-r2 apk
busybox 1.37.0-r12 apk
busybox-binsh 1.37.0-r12 apk
busybox 1.37.0-r16 apk
busybox-binsh 1.37.0-r16 apk
c-ares 1.34.5-r0 apk
ca-certificates 20241121-r1 apk
ca-certificates-bundle 20241121-r1 apk
catatonit 0.2.0-r0 apk
coreutils 9.5-r2 apk
coreutils-env 9.5-r2 apk
coreutils-fmt 9.5-r2 apk
coreutils-sha512sum 9.5-r2 apk
curl 8.12.1-r1 apk
ca-certificates 20241121-r2 apk
ca-certificates-bundle 20241121-r2 apk
catatonit 0.2.1-r0 apk
coreutils 9.6-r2 apk
coreutils-env 9.6-r2 apk
coreutils-fmt 9.6-r2 apk
coreutils-sha512sum 9.6-r2 apk
curl 8.13.0-r0 apk
findutils 4.10.0-r0 apk
jq 1.7.1-r0 apk
libapk2 2.14.9-r1 apk
libattr 2.5.2-r2 apk
libbsd 0.12.2-r0 apk
libcrypto3 3.3.3-r0 apk
libcurl 8.12.1-r1 apk
libcrypto3 3.5.0-r0 apk
libcurl 8.13.0-r0 apk
libidn2 2.3.7-r0 apk
libintl 0.22.5-r0 apk
libintl 0.24-r0 apk
libmd 1.1.0-r0 apk
libncursesw 6.5_p20241006-r3 apk
libncursesw 6.5_p20250216-r0 apk
libproc2 4.0.4-r2 apk
libpsl 0.21.5-r3 apk
libssl3 3.3.3-r0 apk
libunistring 1.2-r0 apk
linux-pam 1.6.1-r1 apk
musl 1.2.5-r9 apk
musl-utils 1.2.5-r9 apk
ncurses-terminfo-base 6.5_p20241006-r3 apk
netcat-openbsd 1.226.1.1-r0 apk
nghttp2-libs 1.64.0-r0 apk
oniguruma 6.9.9-r0 apk
libssl3 3.5.0-r0 apk
libunistring 1.3-r0 apk
linux-pam 1.7.0-r2 apk
musl 1.2.5-r10 apk
musl-utils 1.2.5-r10 apk
ncurses-terminfo-base 6.5_p20250216-r0 apk
netcat-openbsd 1.228.1-r0 apk
nghttp2-libs 1.65.0-r0 apk
oniguruma 6.9.10-r0 apk
procps-ng 4.0.4-r2 apk
readline 8.2.13-r0 apk
scanelf 1.3.8-r1 apk
shadow 4.16.0-r1 apk
shadow 4.17.3-r0 apk
skalibs-libs 2.14.3.0-r0 apk
ssl_client 1.37.0-r12 apk
ssl_client 1.37.0-r16 apk
tzdata 2025b-r0 apk
utmps-libs 0.1.2.3-r2 apk
zlib 1.3.1-r2 apk
zstd-libs 1.5.6-r2 apk
zstd-libs 1.5.7-r0 apk

View file

@ -4,22 +4,29 @@
project_name: baseimage-alpine
full_custom_readme: |
{% raw -%}
[![linuxserver.io](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver_medium.png)](https://linuxserver.io)
[linuxserverurl]: https://linuxserver.io
[forumurl]: https://forum.linuxserver.io
[ircurl]: https://mibbit.com/?server=irc.libera.chat&channel=%23linuxserver.io
[appurl]: https://alpinelinux.org
[![linuxserver.io](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver_medium.png?v=4&s=4000)][linuxserverurl]
## Contact information:-
| Type | Address/Details |
| :---: | --- |
| Discord | [Discord](https://linuxserver.io/discord) |
| IRC | `#linuxserver.io` on irc.libera.chat |
| Forum | [Discourse](https://discourse.linuxserver.io/) |
| Discord | [Discord](https://discord.gg/YWrKVTn) |
| IRC | libera at `#linuxserver.io` more information at:- [IRC][ircurl]
| Forum | [LinuxServer.io forum][forumurl] |
A custom base image built with [Alpine Linux](https://alpinelinux.org) and [s6-overlay](https://github.com/just-containers/s6-overlay).
&nbsp;
&nbsp;
- Support for using our base images in your own projects is provided on a Reasonable Endeavours basis, please see our [Support Policy](https://www.linuxserver.io/supportpolicy) for details.
- There is no `latest` tag for any of our base images, by design. We often make breaking changes between versions, and we don't publish release notes like we do for the downstream images.
- If you're intending to distribute an image using one of our bases, please read our [docs on container branding](https://docs.linuxserver.io/general/container-branding/) first.
- Alpine releases are supported for 2 years, after which we will stop building new base images for that version.
[![](https://images.microbadger.com/badges/image/lsiobase/alpine.svg)](https://microbadger.com/images/lsiobase/alpine "Get your own image badge on microbadger.com")
[![](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/Dockerfile-Link-green.png)](https://github.com/linuxserver/docker-baseimage-alpine/blob/master/Dockerfile)
A custom base image built with [Alpine linux][appurl] and [S6 overlay](https://github.com/just-containers/s6-overlay)..
The following line is only in this repo for loop testing:

View file

@ -1,3 +1,12 @@
───────
meatbag
───────
───────────────────────────────────────
_____ __ __ _____ _____ _____ _____
| | | | __|_ _| | |
| --| | |__ | | | | | | | | |
|_____|_____|_____| |_| |_____|_|_|_|
_____ __ __ _ __ ____
| __ | | | | | | \
| __ -| | | | |__| | |
|_____|_____|_|_____|____/
Based on images from linuxserver.io
───────────────────────────────────────

View file

@ -5,13 +5,8 @@ PUID=${PUID:-911}
PGID=${PGID:-911}
if [[ -z ${LSIO_READ_ONLY_FS} ]] && [[ -z ${LSIO_NON_ROOT_USER} ]]; then
USERHOME=$(grep abc /etc/passwd | cut -d ":" -f6)
usermod -d "/root" abc
groupmod -o -g "${PGID}" abc
usermod -o -u "${PUID}" abc
usermod -d "${USERHOME}" abc
groupmod -o -g "$PGID" abc
usermod -o -u "$PUID" abc
fi
if { [[ -z ${LSIO_READ_ONLY_FS} ]] && [[ -z ${LSIO_NON_ROOT_USER} ]]; } || [[ ! ${LSIO_FIRST_PARTY} = "true" ]]; then

View file

@ -18,6 +18,7 @@ for MIGRATION in $(find ${MIGRATIONS_DIR}/* | sort -n); do
continue
fi
echo "[migrations] ${NAME}: executing..."
chmod +x "${MIGRATION}"
# Execute migration script in a subshell to prevent it from modifying the current environment
("${MIGRATION}")
EXIT_CODE=$?