Skip to content

Commit

Permalink
add values required to build
Browse files Browse the repository at this point in the history
  • Loading branch information
ober committed Oct 12, 2023
1 parent 48342fa commit b57f599
Showing 1 changed file with 41 additions and 14 deletions.
55 changes: 41 additions & 14 deletions docker/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -96,58 +96,85 @@ gerbilxx:
--build-arg configure_args="--enable-c++ --enable-march=" \
--build-arg cores=$(cores) \
--build-arg with_db="YES" \
--build-arg distro="alpine" -t final $(ROOT_DIR) \
--build-arg distro="alpine"
--build-arg shared="no" \
-t final $(ROOT_DIR) \
--progress=plain
docker tag final gerbil/gerbilxx:$(arch)

gerbil:
docker build --target final \
--rm=true --no-cache \
--build-arg repo="$(REPO)" \
--build-arg branch="$(BRANCH)" \
--build-arg packages="$(alpine_packages)" \
--build-arg configure_args="--enable-march=" \
--build-arg cores=$(cores) \
--build-arg distro="alpine" -t final $(ROOT_DIR) \
--build-arg distro="alpine"
--build-arg packages="$(alpine_packages)" \
--build-arg repo="$(REPO)" \
--build-arg shared="no" \
-t final $(ROOT_DIR) \
--progress=plain
docker tag final gerbil/gerbil:$(arch)

amazonlinux:
docker build --target final \
--rm=true --no-cache \
--build-arg branch="$(BRANCH)" \
--build-arg configure_args="--enable-c++ --enable-march=" \
--build-arg cores=$(cores) \
--build-arg distro="amazonlinux" \
--build-arg gerbil_version=$(GERBIL_VERSION) \
--build-arg packages="$(amazon_packages)" \
--build-arg cores=$(cores) \
--build-arg distro="amazonlinux" \
--build-arg repo="$(REPO)" \
--build-arg shared="yes" \
--build-arg with_db="YES" \
-t final $(ROOT_DIR)
docker tag final gerbil/amazonlinux:$(arch)

centos:
docker build --target final \
--rm=true --no-cache \
--build-arg gerbil_version=$(GERBIL_VERSION) \
--build-arg packages="$(centos_packages)" \
--build-arg branch="$(BRANCH)" \
--build-arg configure_args="--enable-c++ --enable-march=" \
--build-arg cores=$(cores) \
--build-arg distro="centos" \
--build-arg gerbil_version=$(GERBIL_VERSION) \
--build-arg packages="$(centos_packages)" \
--build-arg repo="$(REPO)" \
--build-arg shared="yes" \
--build-arg with_db="YES" \
-t final $(ROOT_DIR)
docker tag final gerbil/centos:$(arch)

fedora:
docker build --target final \
--build-arg gerbil_version=$(GERBIL_VERSION) \
--build-arg packages="$(fedora_packages)" \
--build-arg branch="$(BRANCH)" \
--build-arg configure_args="--enable-c++ --enable-march=" \
--build-arg cores=$(cores) \
--build-arg distro="fedora" \
-t final $(ROOT_DIR)
--build-arg gerbil_version=$(GERBIL_VERSION) \
--build-arg packages="$(fedora_packages)" \
--build-arg repo="$(REPO)" \
--build-arg shared="yes" \
--build-arg with_db="YES" \
-t final $(ROOT_DIR) \
--progress=plain
docker tag final gerbil/fedora:$(arch)

ubuntu:
docker build --target final \
--rm=true --no-cache \
--build-arg gerbil_version=$(GERBIL_VERSION) \
--build-arg packages="$(ubuntu_packages)" \
--build-arg branch="$(BRANCH)" \
--build-arg configure_args="--enable-c++ --enable-march=" \
--build-arg cores=$(cores) \
--build-arg distro="ubuntu" \
-t final $(ROOT_DIR)
--build-arg gerbil_version=$(GERBIL_VERSION) \
--build-arg packages="$(ubuntu_packages)" \
--build-arg repo="$(REPO)" \
--build-arg shared="yes" \
--build-arg with_db="YES" \
-t final $(ROOT_DIR) \
--progress=plain
docker tag final gerbil/ubuntu:$(arch)

ubuntu-current-jedi:
Expand Down

0 comments on commit b57f599

Please sign in to comment.