Skip to content

Commit

Permalink
First version of this container
Browse files Browse the repository at this point in the history
  • Loading branch information
papamuziko committed Dec 17, 2019
0 parents commit 5f7cc30
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
23 changes: 23 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Container for developing with GCC 5 at Holberton School

FROM holbertonschool/base-ubuntu-1604
MAINTAINER Guillaume Salva <[email protected]>

RUN apt-get update

RUN apt-get install -y software-properties-common
RUN add-apt-repository -y ppa:ubuntu-toolchain-r/test
RUN apt-get update
RUN apt-get install -y gcc-5 g++-5

RUN rm -rf /usr/bin/gcc
RUN ln -s /usr/bin/gcc-5 /usr/bin/gcc

RUN apt-get install -y curl wget git
RUN apt-get install -y vim emacs

ADD run.sh /tmp/run.sh
RUN chmod u+x /tmp/run.sh

# start run!
CMD ["./tmp/run.sh"]
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# ubuntu-1604-gcc5

Docker container for GCC 5 development at Holberton School.
10 changes: 10 additions & 0 deletions run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

rm -rf /tmp/run.sh;
rm -rf /root/.bash_history;

while true
do
/usr/sbin/sshd -D
done

0 comments on commit 5f7cc30

Please sign in to comment.