Building two differently tagged docker images with docker-compose
问题 I am currently on the way to deploy a java application with Docker and K8s. As I am using a Raspberry Pi Kubernetes Cluster I want to generate two images, one for the x86 plattform, and one for the arm32v7 (for testing on the Raspberry cluster). The goal is to generate two differently tagged docker images with one Dockerfile and push the resulting images to Docker Hub. I use the following Dockerfile. FROM openjdk:8-alpine as x86 RUN mkdir -p /usr/src/app COPY project/generated/distributions