Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- #588 - fix ci: bump openssl version in freebsd again
- #552 - Added CHANGELOG.md automation
- #543 - Added environment variables to control the UID and GID in the container
- #538 - changed default container engine to podman
- #534 - fix image builds with update of dependencies
- #524 - docker: Add Nix Store volume support
- #502 - fix ci: bump openssl version in freebsd
Expand Down
2 changes: 2 additions & 0 deletions src/docker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ const PODMAN: &str = "podman";
fn get_container_engine() -> Result<std::path::PathBuf, which::Error> {
if let Ok(ce) = env::var("CROSS_CONTAINER_ENGINE") {
which::which(ce)
} else if cfg!(target_os = "linux") {
which::which(PODMAN).or_else(|_| which::which(DOCKER))
} else {
which::which(DOCKER).or_else(|_| which::which(PODMAN))
}
Expand Down