blob: c1b91ef420b4ee670ffae916eb6d38bde2833a19 [file]
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# This file is used for building and testing the images locally
# See also docker-compose-gh.yml, which uses the images built by the docker_images.yml workflow
services:
crypto:
image: commons-crypto
build:
context: .
dockerfile: Dockerfile
# mount the source and Maven repo
volumes:
- ../..:/home/crypto
- ~/.m2/repository:/root/.m2/repository
crypto-aarch64: &crypto-aarch64
image: commons-crypto:aarch64
platform: linux/arm64/v8
build:
context: .
dockerfile: Dockerfile.aarch64
# mount the source and Maven repo
volumes:
- ../..:/home/crypto
- ~/.m2/repository:/root/.m2/repository
crypto-riscv64: &crypto-riscv64
image: commons-crypto:riscv64
platform: linux/riscv64
build:
context: .
dockerfile: Dockerfile.riscv64
# mount the source and Maven repo
volumes:
- ../..:/home/crypto
- ~/.m2/repository:/root/.m2/repository