mirror of
https://github.com/penpot/penpot.git
synced 2025-01-23 15:09:10 -05:00
Minor fixes on dockerfile and manage.sh script.
This commit is contained in:
parent
1b687a0d79
commit
6fe09bf784
3 changed files with 1 additions and 28 deletions
|
@ -51,10 +51,6 @@ RUN wget http://mirror.checkdomain.de/imagemagick/releases/ImageMagick-7.0.4-6.t
|
||||||
cd .. && \
|
cd .. && \
|
||||||
rm -rf ./ImageMagick-7.0.4-6.tar.xz ./ImageMagick-7.0.4-6
|
rm -rf ./ImageMagick-7.0.4-6.tar.xz ./ImageMagick-7.0.4-6
|
||||||
|
|
||||||
RUN wget http://www.imagemagick.org/download/ImageMagick.tar.gz
|
|
||||||
RUN tar xvf ImageMagick.tar.gz
|
|
||||||
RUN cd ImageMagick-* && ./configure --prefix=/opt/img && make && make install && cd ..
|
|
||||||
|
|
||||||
EXPOSE 3449
|
EXPOSE 3449
|
||||||
EXPOSE 6060
|
EXPOSE 6060
|
||||||
EXPOSE 9090
|
EXPOSE 9090
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# somewhere on your $PATH, like ~/bin. The rest of Leiningen will be
|
# somewhere on your $PATH, like ~/bin. The rest of Leiningen will be
|
||||||
# installed upon first run into the ~/.lein/self-installs directory.
|
# installed upon first run into the ~/.lein/self-installs directory.
|
||||||
|
|
||||||
export LEIN_VERSION="2.6.1"
|
export LEIN_VERSION="2.7.1"
|
||||||
|
|
||||||
case $LEIN_VERSION in
|
case $LEIN_VERSION in
|
||||||
*SNAPSHOT) SNAPSHOT="YES" ;;
|
*SNAPSHOT) SNAPSHOT="YES" ;;
|
||||||
|
|
23
manage.sh
23
manage.sh
|
@ -9,29 +9,6 @@ function kill_container {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function start_local {
|
|
||||||
tmux -2 new-session -d -s uxbox
|
|
||||||
|
|
||||||
tmux new-window -t uxbox:1 -n 'figwheel'
|
|
||||||
tmux select-window -t uxbox:1
|
|
||||||
tmux send-keys -t uxbox 'cd frontend' enter
|
|
||||||
tmux send-keys -t uxbox 'npm run figwheel' enter
|
|
||||||
|
|
||||||
tmux new-window -t uxbox:2 -n 'backend'
|
|
||||||
tmux select-window -t uxbox:2
|
|
||||||
tmux send-keys -t uxbox 'cd backend' enter
|
|
||||||
# tmux send-keys -t uxbox 'bash ./scripts/fixtures.sh' enter
|
|
||||||
# tmux send-keys -t uxbox 'bash ./scripts/run.sh' enter
|
|
||||||
|
|
||||||
tmux rename-window -t uxbox:0 'gulp'
|
|
||||||
tmux select-window -t uxbox:0
|
|
||||||
tmux send-keys -t uxbox 'cd frontend' enter
|
|
||||||
tmux send-keys -t uxbox 'if [ ! -e ./node_modules ]; then npm install; fi' enter
|
|
||||||
tmux send-keys -t uxbox 'npm run watch' enter
|
|
||||||
|
|
||||||
tmux -2 attach-session -t uxbox
|
|
||||||
}
|
|
||||||
|
|
||||||
function build_image {
|
function build_image {
|
||||||
kill_container
|
kill_container
|
||||||
sudo docker build --rm=true -t $IMGNAME:$REV docker/
|
sudo docker build --rm=true -t $IMGNAME:$REV docker/
|
||||||
|
|
Loading…
Add table
Reference in a new issue