File size: 522 Bytes
b79fa29
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM vespaengine/vespa:latest

USER root
RUN yum install -y python39 python39-pip wget git 
RUN wget https://dlcdn.apache.org/maven/maven-3/3.9.0/binaries/apache-maven-3.9.0-bin.tar.gz 
RUN tar xzvf apache-maven-3.9.0-bin.tar.gz 
COPY ./apache-maven-3.9.0/ /opt/maven/ 
COPY ./run.sh /opt/vespa/vespa/bin/run.sh
RUN chmod +x /opt/vespa/vespa/bin/run.sh 
RUN chown vespa /opt/vespa/vespa/bin/run.sh 
RUN mkdir /opt/vespa/.m2/
RUN chown vespa /opt/vespa/.m2/
USER vespa
EXPOSE 8080
ENTRYPOINT ["/opt/vespa/vespa/bin/run.sh"]