-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathDockerfile
More file actions
30 lines (22 loc) · 753 Bytes
/
Copy pathDockerfile
File metadata and controls
30 lines (22 loc) · 753 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
28
29
30
FROM phocean/msf
MAINTAINER Phocean <jc@phocean.net>
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
WORKDIR /opt
# Base packages
RUN apt-get update && apt-get -y install git bundler nodejs \
zlib1g-dev libsqlite3-dev libcurl4 libcurl4-openssl-dev && \
rm -rf /var/lib/apt/lists/* && \
locale-gen en_US.UTF-8 && \
sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
echo 'LANG="en_US.UTF-8"'>/etc/default/locale && \
dpkg-reconfigure --frontend=noninteractive locales && \
update-locale LANG=en_US.UTF-8 && \
git clone git://github.com/beefproject/beef.git && \
cd beef && \
bundle install
ADD config.yaml beef/config.yaml
EXPOSE 3000
WORKDIR /opt/beef
CMD ./beef