Skip to content

Commit a5cacd7

Browse files
Vijayboopathy EVijayboopathy E
Vijayboopathy E
authored and
Vijayboopathy E
committed
removed random lines of code
1 parent b5dbee8 commit a5cacd7

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

ws/latest/Dockerfile

-3
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,8 @@ RUN apt-get install -yq wget && \
1010
apt-get purge -yq wget
1111

1212

13-
EXPOSE 22 8000
14-
1513
ENV PATH="/opt/chefdk/embedded/bin/ruby:${PATH}"
1614

17-
COPY insecure_key.pem /root/.ssh/id_rsa
1815

1916
COPY docker-entrypoint.sh /usr/local/bin/
2017

ws/version_2.0/Dockerfile

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM codespaces/akurath:v0.2.0
1+
FROM codespaces/akurath:v0.1.0
22
MAINTAINER Vijayboopathy E <[email protected]>
33

44
RUN apt-get install -yq wget && \
@@ -9,6 +9,13 @@ RUN apt-get install -yq wget && \
99
rm -rf chefdk_1.0.3-1_amd64.deb && \
1010
apt-get purge -yq wget
1111

12+
RUN apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D && \
13+
echo "deb https://apt.dockerproject.org/repo ubuntu-trusty main" >> /etc/apt/sources.list.d/docker.list && \
14+
apt-get update && \
15+
apt-get install -yq docker-engine && \
16+
apt-get install -y openssh-server sudo vim && \
17+
mkdir /var/run/sshd && \
18+
echo 'StrictHostKeyChecking no' >> /etc/ssh/ssh_config
1219

1320
EXPOSE 22 8000
1421

0 commit comments

Comments
 (0)