forked from openshift-knative/serverless-operator
/
Dockerfile
29 lines (24 loc) · 849 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
# Dockerfile to bootstrap build and test in openshift-ci
FROM registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.21-openshift-4.16
# Add kubernetes repository
ADD openshift/ci-operator/build-image/kubernetes.repo /etc/yum.repos.d/
RUN yum install -y kubectl httpd-tools
RUN GOFLAGS='' go install github.com/mikefarah/yq/v3@latest
RUN GOFLAGS='' go install knative.dev/test-infra/tools/kntest/cmd/kntest@latest
RUN rm -rf $GOPATH/.cache
# Allow runtime users to add entries to /etc/passwd
RUN chmod g+rw /etc/passwd
RUN yum install -y https://rpm.nodesource.com/pub_20.x/el/8/x86_64/nodesource-release-el8-1.noarch.rpm
RUN yum module disable -y nodejs
RUN yum install -y \
gcc-c++ \
make \
nodejs \
xorg-x11-server-Xvfb \
gtk2-devel \
gtk3-devel \
libnotify-devel \
GConf2 \
nss \
libXScrnSaver \
alsa-lib