diff --git a/.github/workflows/build_php_docker_image.yml b/.github/workflows/build_php_docker_image.yml index 4d6673ddb..1ccc3fc85 100644 --- a/.github/workflows/build_php_docker_image.yml +++ b/.github/workflows/build_php_docker_image.yml @@ -41,7 +41,7 @@ jobs: with: push: true platforms: linux/amd64,linux/arm64 - file: Dockerfile-php + file: ./docker/Dockerfile-php tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} build-args: | diff --git a/tools/port-drayage-webservice/Dockerfile-arm b/tools/port-drayage-webservice/Dockerfile-arm deleted file mode 100644 index e83deb874..000000000 --- a/tools/port-drayage-webservice/Dockerfile-arm +++ /dev/null @@ -1,12 +0,0 @@ -FROM arm64v8/maven:3.8-jdk-11-slim AS maven_build -RUN mkdir /home/port-drayage-webservice -COPY src/ /home/port-drayage-webservice/src/ -COPY pom.xml /home/port-drayage-webservice/ -WORKDIR /home/port-drayage-webservice/ -RUN mvn clean install -FROM arm64v8/alpine:latest -RUN mkdir /home/port-drayage-webservice/ -RUN apk add openjdk11 --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community -COPY --from=maven_build /home/port-drayage-webservice/target/port-drayage-webservice-0.0.1-SNAPSHOT.jar /home/port-drayage-webservice/ -WORKDIR /home/port-drayage-webservice/ -ENTRYPOINT ["java","-jar","port-drayage-webservice-0.0.1-SNAPSHOT.jar"] \ No newline at end of file