Set correct TimeZone conf

This commit is contained in:
ben
2022-12-28 14:19:03 +01:00
parent 6d2e35dddf
commit 988d7f2e26
6 changed files with 64 additions and 30 deletions

View File

@@ -1,32 +1,13 @@
#########################################
#VARIABLES: CAN BE EDITED
#########################################
CONTAINER=test
CONTNAME=$(CONTAINER)-1
DATAVOLUME=$(shell pwd)
#net=host: mandatory for others containers to connect to mysql
STARTOPT=-d \
-p 22122:22 \
--name $(CONTNAME) \
$(CONTAINER)
#########################################
# ACTIONS: DO NOT EDIT BEYOND THIS POINT
#########################################
include make.conf
build:
docker build -t $(CONTAINER) .
docker build -t $(IMAGE) .
build-nocache:
docker build --no-cache -t $(CONTAINER) .
docker build --no-cache -t $(IMAGE) .
run:
docker run $(STARTOPT)
docker run -d $(STARTOPT)
bash:
docker exec -i -t $(CONTNAME) /bin/bash
@@ -41,4 +22,7 @@ clear:
docker rmi -f $(CONTAINER)
install:
docker run --restart=always $(STARTOPT)
docker run -d --restart=always $(STARTOPT)
reinstall:
make stop;make delete ;make install