-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
43 lines (29 loc) · 945 Bytes
/
Dockerfile
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# The Docker Image is part of Pdocker project. The image is the baseline. This image can/should be modified according to personal user.
# Version 2.1.0
# Use an official debian runtime as a parent image
FROM debian
# Select Working Dir
WORKDIR /home/
# Update and upgrade
Run apt-get update -y \
&& apt-get upgrade -y
# Install Python
Run apt-get install python -y
# Install Ruby
Run apt-get install ruby -y
# Install Net-tools
Run apt-get install net-tools -y
# Install git
Run apt-get install git -y
# Install Build Essential
Run apt-get install build-essential -y
# Install curl
Run apt-get install curl -y
# Add new user & Setup homebrew
RUN useradd -m -s /bin/bash linuxbrew && \
echo 'linuxbrew ALL=(ALL) NOPASSWD:ALL' >>/etc/sudoers
USER linuxbrew
RUN sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
USER root
ENV PATH="/home/linuxbrew/.linuxbrew/bin:${PATH}"
CMD ["bash"]