forked from kyma-project/test-infra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
43 lines (35 loc) · 1.27 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
# Basic node buildpack
FROM eu.gcr.io/kyma-project/test-infra/bootstrap:v20221121-4ded4f32
# Commit details
ARG commit
ENV IMAGE_COMMIT=$commit
LABEL io.kyma-project.test-infra.commit=$commit
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash -
RUN apt-get update && apt-get install -y --no-install-recommends \
libfontconfig1 \
procps \
nodejs \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN npm install -g eslint-config-react-app@^3.0.4 \
babel-eslint@^9.0.0 \
eslint@^5.6.1 \
eslint-plugin-flowtype@^2.50.3 \
eslint-plugin-import@^2.14.0 \
eslint-plugin-jsx-a11y@^6.1.2 \
eslint-plugin-react@^7.11.1 \
tslint@^5.11.0 \
tslint-angular@^1.1.2 \
tslint-config-prettier@^1.15.0 \
typescript@^3.1.3 \
prettier@^1.14.3
COPY ./license-puller.sh /license-puller.sh
ENV LICENSE_PULLER_PATH=/license-puller.sh
# Prow Tools
# hadolint ignore=DL3022
COPY --from=eu.gcr.io/kyma-project/test-infra/prow-tools:v20221118-5c35cc55 /prow-tools /prow-tools
# for better access to prow-tools
ENV PATH=$PATH:/prow-tools