-
-
Notifications
You must be signed in to change notification settings - Fork 186
Expand file tree
/
Copy pathDockerfile
More file actions
26 lines (23 loc) · 605 Bytes
/
Dockerfile
File metadata and controls
26 lines (23 loc) · 605 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
#FROM ubuntu:latest
FROM golang:latest
MAINTAINER bolli95 "maxlukasboll@gmail.com"
# first set the right working dir
WORKDIR /jsfscan
# copy all files to the container
COPY . .
# install all depedencies
RUN chmod +x ./install.sh
RUN apt-get -y update && apt-get -y install --no-install-recommends \
git \
wget \
python3 \
python3-pip \
python3-setuptools \
python3-wheel \
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf /usr/share/doc && rm -rf /usr/share/man \
&& apt-get clean
RUN ./install.sh
ENV HOME /root
ENV GOPATH=$HOME/go/bin
ENV PATH $PATH:$GOPATH