Compare commits

...

5 commits

Author SHA1 Message Date
AlexandrKharitonov f663fbd43b Update build 2022-01-06 12:18:40 +03:00
AlexandrKharitonov e3f8ab9a1d Update build 2022-01-06 12:13:22 +03:00
AlexandrKharitonov 2fbbccccec add hooks 2022-01-06 11:46:31 +03:00
AlexandrKharitonov 9c1975df7b Update Dockerfile.cl 2021-12-20 11:01:52 +03:00
AlexandrKharitonov f9499ba9ff Create Dockerfile.cl 2021-12-17 17:04:20 +03:00
4 changed files with 19 additions and 0 deletions

4
Dockerfile.cl Normal file
View file

@ -0,0 +1,4 @@
FROM onlyoffice/documentserver-ee:latest
RUN sed -i '/trap clean_exit SIGTERM/s/^/#/' /app/ds/run-document-server.sh

5
hooks/build Normal file
View file

@ -0,0 +1,5 @@
#!/bin/bash
sed -i '/trap clean_exit SIGTERM/s/^/#/' run-document-server.sh
docker build -t $IMAGE_NAME .

7
hooks/post_push Normal file
View file

@ -0,0 +1,7 @@
#!/bin/bash
NEW_TAG=6.4.2
NEW_IMAGE_NAME=$DOCKER_REPO:$NEW_TAG
docker tag $IMAGE_NAME $NEW_IMAGE_NAME
docker push $NEW_IMAGE_NAME

3
hooks/push Normal file
View file

@ -0,0 +1,3 @@
#!/bin/bash
docker push $IMAGE_NAME