add Dockerfile syntax, use lsiown

This commit is contained in:
aptalca
2023-05-18 15:44:47 -04:00
parent 0851478cc8
commit f629e97660
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -1,3 +1,5 @@
# syntax=docker/dockerfile:1
## Buildstage ##
FROM ghcr.io/linuxserver/baseimage-alpine:3.17 as buildstage
@@ -2,7 +2,7 @@
ABC_USER=$(id -nu ${PUID:-911})
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 ****"
if [ -f /usr/bin/apt ]; then