FROM vespaengine/vespa:latest USER root RUN yum install -y python39 python39-pip wget git 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 mkdir /opt/maven RUN chown vespa /opt/vespa/.m2/ RUN chown vespa /opt/maven USER vespa EXPOSE 8080 ENTRYPOINT ["/opt/vespa/vespa/bin/run.sh"]