Skip to content

Files

Latest commit

02fed98 · Feb 25, 2023

History

History
48 lines (31 loc) · 849 Bytes

build-docker.md

File metadata and controls

48 lines (31 loc) · 849 Bytes

Build recmd using docker

Standard Build

Prepare the Docker image with:

./scripts/recmd_docker_build_build.sh

Build recmd with:

./scripts/recmd_docker_build.sh

The build artifacts will be placed in target_docker directory.

You can also pass arbitrary arguments to the script. For example, for cleaning the build directory:

./scripts/recmd_docker_build.sh cargo clean

Static Build

Prepare the Docker image with:

./scripts/recmd_docker_build_static_build.sh

Build a static recmd with:

./scripts/recmd_docker_build_static.sh

The build artifacts will be placed in target_docker_static directory.

You can also pass arbitrary arguments to the script. For example, for cleaning the build directory:

./scripts/recmd_docker_build_static.sh cargo clean