File tree Expand file tree Collapse file tree 2 files changed +25
-1
lines changed
Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Original file line number Diff line number Diff line change 1+ name : build
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+ pull_request :
7+ branches : [ master ]
8+
9+ jobs :
10+
11+ build :
12+ name : Build Docker image
13+ runs-on : ubuntu-latest
14+ steps :
15+
16+ - name : Check out code
17+ uses : actions/checkout@v4
18+
19+ - name : Build
20+ uses : docker/build-push-action@v5
21+ with :
22+ push : false
Original file line number Diff line number Diff line change @@ -6,8 +6,10 @@ ENV DEBIAN_FRONTEND=noninteractive
66
77RUN apt update && apt install -y ca-certificates
88RUN sed -i 's/archive.ubuntu.com/mirror.yandex.ru/g' /etc/apt/sources.list
9+ RUN mkdir -p /use/share/binfmts
10+ RUN apt update && apt install -y --no-install-recommends openjdk-11-jre-headless
911
10- RUN apt update -qq -o Acquire::AllowInsecureRepositories=true && apt install -y --no-install-recommends --allow-unauthenticated \
12+ RUN apt update && apt install -y --no-install-recommends \
1113 openjdk-8-jdk maven postgresql-client && \
1214 apt remove -y openjdk-11-jre-headless
1315
You can’t perform that action at this time.
0 commit comments