Fix the docker development environment

This commit is contained in:
Sukchan Lee 2018-05-02 22:11:02 +09:00
parent 2d5f9d0d26
commit f3ddfaec44
2 changed files with 9 additions and 2 deletions

View File

@ -66,8 +66,14 @@ services:
- home:/home/${USER}
- ${HOME}:/mnt
hostname: nextepc-dev
command: /bin/bash -c "chmod 666 /dev/net/tun; /root/setup.sh; su acetcom"
user: ${USER}
entrypoint: /bin/bash -c "/bin/bash -c \"$${@}\""
command: |
/bin/bash -c "
sudo chmod 666 /dev/net/tun
sudo /root/setup.sh
/bin/bash || exit 0
"
volumes:
mongodb: {}
home: {}

View File

@ -18,6 +18,7 @@ RUN apt-get update && \
libgnutls28-dev \
libgcrypt-dev \
libssl-dev \
libidn11-dev \
libmongoc-dev \
libbson-dev \
libyaml-dev \