-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
39 lines (34 loc) · 919 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
FROM hackinglab/alpine-base:3.2
MAINTAINER Ivan Buetler <[email protected]>
ENV LANG="en_US.UTF-8" \
LC_ALL="en_US.UTF-8" \
LANGUAGE="en_US.UTF-8" \
TERM="xterm"
RUN apk -U upgrade && \
apk --update add \
bash \
sudo \
curl \
fping \
go git \
htop \
iftop iotop \
jq \
nmap \
rsync \
screen \
wget \
tar tmux tree \
vim \
xz \
zsh && \
GOPATH=/tmp/gotty go get -u github.com/yudai/gotty && \
mv /tmp/gotty/bin/gotty /usr/local/bin/ && \
apk del go musl-dev && \
echo 'set-option -g default-shell /bin/zsh' >> /root/.tmux.conf && \
rm -rf /tmp/gotty /var/cache/apk/* /tmp/src
ADD root /
EXPOSE 8080
# RUN GOPATH=/tmp/gotty go get -u github.com/yudai/gotty && \
# RUN GOPATH=/tmp/gotty go get -u github.com/roughentomologyx/gotty && \
# GOPATH=/tmp/gotty go get -u github.com/sorenisanerd/gotty && \