summary refs log tree commit diff
diff options
context:
space:
mode:
authorTravis Ralston <travisr@element.io>2024-07-09 10:03:06 -0600
committerTravis Ralston <travisr@element.io>2024-07-09 10:03:06 -0600
commit6b95c11e78f01c0c04d4942413d145b66c68b6e7 (patch)
tree867ab60d6bc7da70f4fc117a5c2484685c1c6550
parentFix up the changelog (diff)
downloadsynapse-6b95c11e78f01c0c04d4942413d145b66c68b6e7.tar.xz
Allow Docker image to be built on Windows
-rw-r--r--docker/Dockerfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 1bef8045ca..7ed6db20b4 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -179,11 +179,13 @@ RUN \
   libicu72 \
   libssl-dev \
   openssl \
+  dos2unix \
   && rm -rf /var/lib/apt/lists/*
 
 COPY --from=builder /install /usr/local
 COPY ./docker/start.py /start.py
 COPY ./docker/conf /conf
+RUN dos2unix /start.py
 
 EXPOSE 8008/tcp 8009/tcp 8448/tcp