File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11FROM openjdk:8-jre-alpine
22
3- ARG RELEASE=2.16.1
4- RUN echo $RELEASE
5- ARG ALLURE_REPO=https://repo.maven.apache.org/maven2/io/qameta/allure/allure-commandline
3+ ARG RELEASE=2.14.0 \
4+ ALLURE_REPO=https://repo.maven.apache.org/maven2/io/qameta/allure/allure-commandline
65
7- RUN apk update
8- RUN apk add bash
9- RUN apk add wget
10- RUN apk add unzip
6+ RUN echo $RELEASE && \
7+ apk update && \
8+ apk add --no-cache bash wget unzip && \
9+ rm -rf /var/cache/apk/*
1110
12- RUN wget --no-verbose -O /tmp/allure-$RELEASE.tgz $ALLURE_REPO/$RELEASE/allure-commandline-$RELEASE.tgz \
13- && tar -xf /tmp/allure-$RELEASE.tgz \
14- && rm -rf /tmp/*
11+ RUN wget --no-verbose -O /tmp/allure-$RELEASE.tgz $ALLURE_REPO/$RELEASE/allure-commandline-$RELEASE.tgz && \
12+ tar -xf /tmp/allure-$RELEASE.tgz && \
13+ rm -rf /tmp/* && \
14+ chmod -R +x /allure-$RELEASE/bin
1515
16- RUN rm -rf /var/cache/apk/*
17-
18- RUN chmod -R +x /allure-$RELEASE/bin
19-
20- ENV ROOT=/app
21- ENV PATH=$PATH:/allure-$RELEASE/bin
16+ ENV ROOT=/app \
17+ PATH=$PATH:/allure-$RELEASE/bin
2218
2319RUN mkdir -p $ROOT
2420
You can’t perform that action at this time.
0 commit comments