mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-19 18:03:01 -04:00
add Dockerfile syntax, use lsiown
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
# syntax=docker/dockerfile:1
|
||||||
|
|
||||||
## Buildstage ##
|
## Buildstage ##
|
||||||
FROM ghcr.io/linuxserver/baseimage-alpine:3.17 as buildstage
|
FROM ghcr.io/linuxserver/baseimage-alpine:3.17 as buildstage
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
ABC_USER=$(id -nu ${PUID:-911})
|
ABC_USER=$(id -nu ${PUID:-911})
|
||||||
mkdir -p /config/{logs/dockerd,var/lib/docker}
|
mkdir -p /config/{logs/dockerd,var/lib/docker}
|
||||||
chown -R ${ABC_USER}:${ABC_USER} /config/logs
|
lsiown -R ${ABC_USER}:${ABC_USER} /config/logs
|
||||||
|
|
||||||
echo "**** installing docker and docker compose ****"
|
echo "**** installing docker and docker compose ****"
|
||||||
if [ -f /usr/bin/apt ]; then
|
if [ -f /usr/bin/apt ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user