aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
blob: 93bbe2c34460c60989982790b528fc34636f556f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM golang:latest

ENV PROJECT_NAME sshtron
ENV PROJECT_PATH github.com/zachlatta/sshtron

ADD . $GOPATH/src/$PROJECT_PATH
WORKDIR $GOPATH/src/$PROJECT_PATH

RUN apt-get update && apt-get install openssh-client && \
	ssh-keygen -t rsa -N "" -f id_rsa && \
	go get && go install && \
	rm -rf /var/lib/apt/lists/*

ENTRYPOINT sshtron

Un proyecto texto-plano.xyz