You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2019/12/05 14:33:26 UTC
[whimsy] branch master updated: += ldap-utils
This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new d41fbc0 += ldap-utils
d41fbc0 is described below
commit d41fbc052917a0d3531ab0103b3b839032433cb2
Author: Sebb <se...@apache.org>
AuthorDate: Thu Dec 5 14:33:17 2019 +0000
+= ldap-utils
---
docker/Dockerfile | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 49331f3..535a87c 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -1,7 +1,9 @@
FROM ubuntu:18.04
+
ENV GEM_HOME="/srv/gems" \
LANG=C.UTF-8 \
LC_ALL=C.UTF-8
+
RUN apt-get update && \
apt-get install -y curl software-properties-common apt-utils && \
curl -sL https://deb.nodesource.com/setup_12.x | bash - && \
@@ -47,10 +49,19 @@ RUN apt-get update && \
a2enmod expires && \
a2enmod proxy_wstunnel &&\
echo "ServerName whimsy.local" > /etc/apache2/conf-enabled/servername.conf
+
COPY work/whimsy.conf /etc/apache2/sites-enabled/000-default.conf
+
RUN echo 'SetEnv GEM_HOME /srv/gems' > /etc/apache2/conf-enabled/gemhome.conf
+
# Add new items at the end so previous layers can be re-used
+
+# for editing/viewing files only in the container
RUN DEBIAN_FRONTEND='noninteractive' apt-get install -y vim
+
+# for checking ldap settings etc
+RUN DEBIAN_FRONTEND='noninteractive' apt-get install -y ldap-utils
+
WORKDIR /srv/whimsy
EXPOSE 80