From 38899cbce35404fd866fc69e670adc37561ce42b Mon Sep 17 00:00:00 2001 From: Alexey Golubev Date: Wed, 25 Aug 2021 14:52:27 +0300 Subject: [PATCH] Add Dockerfile for Alibaba Cloud --- Dockerfile.alc | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 Dockerfile.alc diff --git a/Dockerfile.alc b/Dockerfile.alc new file mode 100644 index 0000000..66c4bb4 --- /dev/null +++ b/Dockerfile.alc @@ -0,0 +1,8 @@ +FROM onlyoffice4ami/communityserver:latest +ARG APPSETTING_CONFIG=/var/www/onlyoffice/WebStudio/web.appsettings.config + +RUN xmlstarlet ed -L \ + -s "/appSettings" -t elem -n "add" \ + -i "/appSettings/add[not(@*)]" -t attr -n "key" -v "web.ami.meta" \ + -i "/appSettings/add[@key='web.ami.meta']" -t attr -n "value" -v "http://100.100.100.200/latest/meta-data/" \ + $APPSETTING_CONFIG