-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
77 lines (62 loc) · 2.71 KB
/
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
FROM python:3.6-slim-stretch
MAINTAINER Joshua Gorospe <[email protected]>
USER root
# Un-comment the following two lines if you are running this container in Amazon ECS or in Kubernetes.
#RUN mkdir /rfw
#COPY ./Workshop-Examples /rfw
# Customize sources for apt-get
RUN echo 'deb http://deb.debian.org/debian stretch-backports main' > /etc/apt/sources.list.d/backports.list
# No interactive frontend during docker build
ENV DEBIAN_FRONTEND=noninteractive \
DEBCONF_NONINTERACTIVE_SEEN=true
RUN apt-get update --fix-missing -y && apt-get install --no-install-recommends -y && apt-get -y upgrade \
apt-utils \
ca-certificates \
gcc \
make \
git \
git-core \
gettext \
&& mv /usr/bin/envsubst /usr/local/sbin/envsubst
RUN apt-get update && \
apt-get -y upgrade && \
mkdir -p /usr/share/man/man1 && \
apt-get -y install openjdk-11-jre-headless
RUN apt-get update && apt-get install --no-install-recommends -y
RUN apt-get -y upgrade
# Install Python 3, update pip3, and install all Robot Framework libraries
RUN apt-get update --fix-missing -y \
&& apt-get install python3 -y \
&& apt-get install python3-pip -y \
&& python3 -m pip install pip --upgrade \
&& python3 -m pip install wheel \
&& python3 -m pip install robotframework \
&& pip3 install requests \
&& pip3 install -U robotframework-requests \
&& pip3 install --upgrade robotframework-seleniumlibrary \
&& pip3 install pyyaml \
&& apt-get clean -y \
&& apt-get update --fix-missing -y \
&& apt-get install build-essential libssl-dev libffi-dev -y \
&& pip3 install -U robotframework-pabot
RUN apt-get install -y \
wget \
curl \
libcurl3
RUN git clone https://gitlab.com/akihe/radamsa.git && cd radamsa && make && make install
# Install Newman, a Postman CLI tool
RUN curl -sL https://deb.nodesource.com/setup_10.x --retry 2 | bash
RUN apt-get install -y nodejs && npm install -g newman && npm install crapify -g && npm i newman && npm install --save newman-reporter-text
RUN curl -o /usr/local/bin/jq http://stedolan.github.io/jq/download/linux64/jq --retry 2 \
&& chmod +x /usr/local/bin/jq \
&& git clone https://github.com/course-hero/slacktee.git \
&& chmod +x ./slacktee/install.sh \
&& touch /root/.slacktee \
&& bash ./slacktee/install.sh /usr/bin
# Check for new versions on http://graphwalker.github.io
RUN wget https://github.com/GraphWalker/graphwalker-project/releases/download/4.1.0/graphwalker-cli-4.1.0.jar \
&& cp graphwalker-cli-4.1.0.jar /usr/bin/ \
&& chmod +x /usr/bin/graphwalker-cli-4.1.0.jar
EXPOSE 9000
ADD commands-running-inside-a-docker-container.sh /usr/local/bin/commands-running-inside-a-docker-container.sh
RUN chmod +x /usr/local/bin/commands-running-inside-a-docker-container.sh