removed creating services
creation of services for podman in this place has been removed
This commit is contained in:
parent
88b166443f
commit
c34c7f21b0
1 changed files with 2 additions and 5 deletions
|
|
@ -14,8 +14,5 @@ if [ -n "$(sudo docker --version 2>/dev/null | grep podman)" ]; then sudo sh -c
|
||||||
' \"alpine\" = \"docker.io/library/alpine\"' \
|
' \"alpine\" = \"docker.io/library/alpine\"' \
|
||||||
' # Amnezia finish' \
|
' # Amnezia finish' \
|
||||||
>> /var/cache/containers/short-name-aliases.conf";\
|
>> /var/cache/containers/short-name-aliases.conf";\
|
||||||
sudo docker build --no-cache --pull -t $CONTAINER_NAME $DOCKERFILE_FOLDER && sudo sh -c '\
|
fi;\
|
||||||
podman generate systemd --name $CONTAINER_NAME 2>/dev/null > $DOCKERFILE_FOLDER/container-$CONTAINER_NAME.service && \
|
sudo docker build --no-cache --pull -t $CONTAINER_NAME $DOCKERFILE_FOLDER
|
||||||
systemctl enable $DOCKERFILE_FOLDER/container-$CONTAINER_NAME.service';\
|
|
||||||
else sudo docker build --no-cache --pull -t $CONTAINER_NAME $DOCKERFILE_FOLDER;\
|
|
||||||
fi
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue