summaryrefslogtreecommitdiffstats
path: root/.devcontainer/Dockerfile
diff options
context:
space:
mode:
authorChristoph Jahn <cj@road42.de>2019-08-28 15:26:17 +0200
committerChristoph Jahn <cj@road42.de>2019-08-28 15:26:17 +0200
commitdbdb26a0444598cb6757cfb41f2abf74a89ed124 (patch)
treec6186fa890514303259dd20028b89fbe58ab2942 /.devcontainer/Dockerfile
parent4b06e2188c2dabdc0b609cbd5ae1ffb482b6e068 (diff)
downloadwekan-dbdb26a0444598cb6757cfb41f2abf74a89ed124.tar.gz
wekan-dbdb26a0444598cb6757cfb41f2abf74a89ed124.tar.bz2
wekan-dbdb26a0444598cb6757cfb41f2abf74a89ed124.zip
Fixed endless compilation devcontainer, debugging
Diffstat (limited to '.devcontainer/Dockerfile')
-rw-r--r--.devcontainer/Dockerfile15
1 files changed, 14 insertions, 1 deletions
diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile
index 06f5155b..f9b01d8f 100644
--- a/.devcontainer/Dockerfile
+++ b/.devcontainer/Dockerfile
@@ -1,7 +1,7 @@
FROM ubuntu:disco
LABEL maintainer="sgr"
-ENV BUILD_DEPS="gnupg gosu bsdtar wget curl bzip2 g++ build-essential python git ca-certificates"
+ENV BUILD_DEPS="gnupg gosu bsdtar wget curl bzip2 g++ build-essential python git ca-certificates iproute2"
ENV DEBIAN_FRONTEND=noninteractive
ENV \
@@ -145,3 +145,16 @@ RUN set -o xtrace \
&& sh /home/wekan/install-meteor.sh
ENV PATH=$PATH:$HOME/.meteor/
+
+# Copy source dir
+USER root
+
+RUN set -o xtrace \
+ && mkdir /home/wekan/app
+
+COPY ${SRC_PATH} /home/wekan/app/
+
+RUN set -o xtrace \
+ && chown -R wekan:wekan /home/wekan/app /home/wekan/.meteor
+
+USER wekan