forked from ryancdotorg/brainflayer
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathDockerfile
More file actions
27 lines (24 loc) · 743 Bytes
/
Dockerfile
File metadata and controls
27 lines (24 loc) · 743 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
FROM ubuntu:14.04
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
git \
ca-certificates \
automake \
libtool \
libssl-dev \
libgmp3-dev \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Set Term
ENV TERM linux \
DEBIAN_FRONTEND noninteractive \
CMD ["/bin/bash"]
# Create New User - Vermil
RUN useradd -rm --password Password123 -d /home/brainflayer -s /bin/bash -g root -G sudo -u 1000 brainflayer
USER brainflayer
WORKDIR /home/brainflayer
# Clone My Git Repository, Autoconfig, Make, Install, Add SSH, Cleanup
RUN cd /home/brainflayer \
&& git clone https://github.com/kenorb-contrib/brainflayer \
&& cd ./brainflayer \
&& make all