-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 5f7cc30
Showing
3 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|