File tree 4 files changed +38
-27
lines changed 4 files changed +38
-27
lines changed Original file line number Diff line number Diff line change 1
- FROM ubuntu:14.04
2
- MAINTAINER Babu R <
[email protected] >
1
+ FROM codespaces/base-ubuntu-akurath:v0.1.0
3
2
4
- WORKDIR /workspace
5
- VOLUME /workspace
3
+ MAINTAINER Vijayboopathy E <
[email protected] >
6
4
7
- RUN apt-get update && \
8
- apt-get install -y make g++ python git curl wget openssh-server sudo vim libdevmapper-dev && \
9
- curl -sL https://deb.nodesource.com/setup | sudo bash - && \
10
- apt-get install -y nodejs && \
11
- npm -g install node-gyp akurath && \
12
- cd /usr/lib/node_modules/akurath/node_modules/shux/node_modules/pty.js && \
13
- make clean && \
14
- make
15
-
16
- RUN mkdir /var/run/sshd && \
17
- wget -qO- https://get.docker.com/ | sh && \
5
+ RUN wget -qO- https://get.docker.com/ | sh && \
18
6
curl -L "https://github.com/docker/compose/releases/download/1.10.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose && \
19
7
chmod +x /usr/local/bin/docker-compose
20
8
21
- COPY motd.sh /opt/
22
-
23
- RUN chmod +x /opt/motd.sh && \
24
- sh /opt/motd.sh && \
25
- rm -rf motd.sh
26
-
27
- RUN useradd -ms /bin/bash devops && \
28
- echo 'devops:codespaces' |chpasswd && \
29
- adduser devops sudo && \
30
- echo 'devops ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
31
-
32
9
EXPOSE 22 8000
33
10
34
11
CMD /usr/bin/akurath run
Original file line number Diff line number Diff line change
1
+ FROM ubuntu:14.04
2
+ MAINTAINER Babu R <
[email protected] >
3
+
4
+ WORKDIR /workspace
5
+ VOLUME /workspace
6
+
7
+ RUN apt-get update && \
8
+ apt-get install -y make g++ python git curl wget openssh-server sudo vim libdevmapper-dev && \
9
+ curl -sL https://deb.nodesource.com/setup | sudo bash - && \
10
+ apt-get install -y nodejs && \
11
+ npm -g install node-gyp akurath && \
12
+ cd /usr/lib/node_modules/akurath/node_modules/shux/node_modules/pty.js && \
13
+ make clean && \
14
+ make
15
+
16
+ RUN mkdir /var/run/sshd && \
17
+ wget -qO- https://get.docker.com/ | sh && \
18
+ curl -L "https://github.com/docker/compose/releases/download/1.10.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose && \
19
+ chmod +x /usr/local/bin/docker-compose
20
+
21
+ COPY motd.sh /opt/
22
+
23
+ RUN chmod +x /opt/motd.sh && \
24
+ sh /opt/motd.sh && \
25
+ rm -rf motd.sh
26
+
27
+ RUN useradd -ms /bin/bash devops && \
28
+ echo 'devops:codespaces' |chpasswd && \
29
+ adduser devops sudo && \
30
+ echo 'devops ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
31
+
32
+ EXPOSE 22 8000
33
+
34
+ CMD /usr/bin/akurath run
File renamed without changes.
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ networks:
6
6
7
7
services :
8
8
docker :
9
- image : codespaces/docker-control:v0.1.0
9
+ image : codespaces/docker-control:v0.1.1
10
10
ports :
11
11
- " 8000:8000"
12
12
- " 80:80"
You can’t perform that action at this time.
0 commit comments