File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6262 - name : Download eumserver jar
6363 uses : actions/download-artifact@v3
6464 with :
65- name : eumserver-jar
65+ name : eumserver-jar # with the name we are referencing the eumserver-jar uploaded in the build_and_release job
6666 path : docker/
6767 - name : Check if jar exists and rename it
6868 run : |
8585 with :
8686 context : .
8787 push : true
88- tags : danipaniii/testing: ${{ github.ref_name }}, danipaniii/testing :latest
88+ tags : inspectit/inspectit-ocelot-eum-server ${{ github.ref_name }}, inspectit/inspectit-ocelot-eum-server :latest
8989 file : ./docker/Dockerfile
Original file line number Diff line number Diff line change 11FROM openjdk:11-jre-slim
22
3- ADD ./docker/ /
3+ # The docker directory contains the Dockerfile, entrypoint.sh and the eum-server jar to build the docker image.
4+ # So the docker directory gets added to the container to successfully build the docker image.
5+ # The dockerfile gets build in the docker directory where it is in and no new directories are being created.
6+ # =====
7+ # In order to build a docker image locally, the eum-server should be build locally and the resulting jar should be renamed
8+ # to 'inspectit-ocelot-eum-server.jar' and copied to the ./docker directory
9+ ADD ./docker/ /
410ENTRYPOINT ["sh" , "/entrypoint.sh" ]
511
You can’t perform that action at this time.
0 commit comments