Skip to content

Commit 81a0b67

Browse files
author
js-jslog
committed
Corrections from previous commit
1 parent dc50042 commit 81a0b67

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

Dockerfile

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ RUN mkdir -p /home/developer/
2121
RUN rm /bin/sh && ln -s /bin/bash /bin/sh
2222

2323
LABEL maintainer="Joseph Sinfield <[email protected]>"
24-
LABEL runcommand="docker run --rm -ti -v /var/run/docker.sock:/var/run/docker.sock-p 3000:3000 -e http_proxy -e https_proxy -e HTTP_PROXY -e HTTPS_PROXY -e SSH_AUTH_SOCK=\$SSH_AUTH_SOCK -v $(dirname \$SSH_AUTH_SOCK):$(dirname \$SSH_AUTH_SOCK) -v $(pwd):/home/developer/workspace -w /home/developer/workspace jslog/development-env"
24+
LABEL runcommand="docker run --rm -ti -v /var/run/docker.sock:/var/run/docker.sock -p 3000:3000 -e http_proxy -e https_proxy -e HTTP_PROXY -e HTTPS_PROXY -e SSH_AUTH_SOCK=\$SSH_AUTH_SOCK -v $(dirname \$SSH_AUTH_SOCK):$(dirname \$SSH_AUTH_SOCK) -v $(pwd):/home/developer/workspace -w /home/developer/workspace jslog/development-env"
2525

2626
# Set debconf to run non-interactively
2727
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
@@ -73,7 +73,7 @@ COPY dotfiles/jest.config.js /home/developer/jest.config.js
7373
RUN source /root/.bashrc
7474

7575
# Install docker ce so that host docker instances can be manipulated from this env
76-
RUN apt-get update && apt-get install \
76+
RUN apt-get update && apt-get install -y -q --no-install-recommends \
7777
apt-transport-https \
7878
ca-certificates \
7979
curl \
@@ -82,11 +82,14 @@ RUN apt-get update && apt-get install \
8282

8383
RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
8484
RUN add-apt-repository \
85-
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
86-
$(lsb_release -cs) \
87-
stable"
85+
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
86+
$(lsb_release -cs) \
87+
stable"
8888

89-
RUN apt-get update && apt-get install docker-ce docker-ce-cli containerd.io
89+
RUN apt-get update && apt-get install -y -q --no-install-recommends \
90+
docker-ce \
91+
docker-ce-cli \
92+
containerd.io
9093

9194
# Copy project templates with local dotfiles
9295
COPY templates/tdd/ /home/developer/templates/tdd/
@@ -98,4 +101,4 @@ COPY templates/express-app/ /home/developer/templates/express-app/
98101
COPY dotfiles/.gitignore /home/developer/templates/express-app/.
99102
COPY dotfiles/.eslintrc.json /home/developer/templates/express-app/.
100103

101-
LABEL version="1.1.3"
104+
LABEL version="1.1.4"

0 commit comments

Comments
 (0)