revert Set correct TimeZone conf
This commit is contained in:
ben
2022-12-29 10:36:08 +01:00
parent 988d7f2e26
commit ce0c25cd9e
6 changed files with 30 additions and 64 deletions

View File

@@ -1,13 +1,32 @@
include make.conf
#########################################
#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
#########################################
build:
docker build -t $(IMAGE) .
docker build -t $(CONTAINER) .
build-nocache:
docker build --no-cache -t $(IMAGE) .
docker build --no-cache -t $(CONTAINER) .
run:
docker run -d $(STARTOPT)
docker run $(STARTOPT)
bash:
docker exec -i -t $(CONTNAME) /bin/bash
@@ -22,7 +41,4 @@ clear:
docker rmi -f $(CONTAINER)
install:
docker run -d --restart=always $(STARTOPT)
reinstall:
make stop;make delete ;make install
docker run --restart=always $(STARTOPT)