Fixed the build error because windows WSL in ubuntu version 22.04
This commit is contained in:
parent
d2e2f54722
commit
4b4adb2cf5
|
@ -1,11 +1,11 @@
|
||||||
FROM ubuntu:20.10
|
FROM ubuntu:22.04
|
||||||
|
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
# Comment next line out for Windows builds
|
# Comment next line out for Windows builds
|
||||||
ARG DEBIAN_FRONTEND=noninteractive
|
#ARG DEBIAN_FRONTEND=noninteractive
|
||||||
RUN apt-get update && apt-get install -y wget openjdk-8-jdk curl pip maven docker-compose
|
RUN apt-get update && apt-get install -y wget openjdk-8-jdk curl pip maven docker-compose
|
||||||
|
|
||||||
# Needed for Windows builds
|
# Needed for Windows builds
|
||||||
#RUN update-java-alternatives -s java-1.8.0-openjdk-amd64
|
RUN update-java-alternatives -s java-1.8.0-openjdk-amd64
|
||||||
|
|
||||||
CMD sh /usr/src/app/docker/scripts/build.sh
|
CMD sh /usr/src/app/docker/scripts/build.sh
|
||||||
|
|
Loading…
Reference in New Issue