Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Gambit references #805

Merged
merged 1 commit into from
Sep 7, 2023
Merged
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
18 changes: 6 additions & 12 deletions docker/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
.PHONY: alpine amazonlinux ubuntu fedora ubuntu-current-jedi final

GERBIL_VERSION := master
GAMBIT_VERSION := v4.9.5

ROOT_DIR := $(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
cores := $(shell grep -c "^processor" /proc/cpuinfo)
Expand Down Expand Up @@ -83,7 +82,6 @@ ubuntu_packages := autoconf \
alpine:
docker build --target final \
--rm=true --no-cache \
--build-arg gambit_version=$(GAMBIT_VERSION) \
--build-arg gerbil_version=$(GERBIL_VERSION) \
--build-arg packages="$(alpine_packages)" \
--build-arg cores=$(cores) \
Expand All @@ -92,7 +90,6 @@ alpine:

amazonlinux:
docker build --target final \
--build-arg gambit_version=$(GAMBIT_VERSION) \
--build-arg gerbil_version=$(GERBIL_VERSION) \
--build-arg packages="$(amazon_packages)" \
--build-arg cores=$(cores) \
Expand All @@ -103,7 +100,6 @@ amazonlinux:
centos:
docker build --target final \
--rm=true --no-cache \
--build-arg gambit_version=$(GAMBIT_VERSION) \
--build-arg gerbil_version=$(GERBIL_VERSION) \
--build-arg packages="$(centos_packages)" \
--build-arg cores=$(cores) \
Expand All @@ -113,7 +109,6 @@ centos:

fedora:
docker build --target final \
--build-arg gambit_version=$(GAMBIT_VERSION) \
--build-arg gerbil_version=$(GERBIL_VERSION) \
--build-arg packages="$(fedora_packages)" \
--build-arg cores=$(cores) \
Expand All @@ -124,7 +119,6 @@ fedora:
ubuntu:
docker build --target final \
--rm=true --no-cache \
--build-arg gambit_version=$(GAMBIT_VERSION) \
--build-arg gerbil_version=$(GERBIL_VERSION) \
--build-arg packages="$(ubuntu_packages)" \
--build-arg cores=$(cores) \
Expand All @@ -139,25 +133,25 @@ ubuntu-current-jedi:
package-ubuntu:
docker run -v $(PWD):/src:z -t gerbil/ubuntu \
bash -c "gem install fpm && \
fpm -s dir -p /src/ -t deb -n gerbil-$(GERBIL_VERSION)-gambit-$(GAMBIT_VERSION).ubuntu \
--description 'Gambit and Gerbil Package' /opt/gerbil /opt/gambit"
fpm -s dir -p /src/ -t deb -n gerbil-$(GERBIL_VERSION).ubuntu \
--description 'Gerbil Package' /opt/gerbil"

package-fedora:
docker run -v $(PWD):/src:z -t gerbil/fedora \
bash -c "yum install -y rubygems ruby-devel rpm-build && \
gem install fpm && \
fpm -s dir -p /src/ -t rpm \
-n gerbil-$(GERBIL_VERSION)-gambit-$(GAMBIT_VERSION).fedora \
--description 'Gambit and Gerbil Package' /opt/gerbil /opt/gambit"
-n gerbil-$(GERBIL_VERSION).fedora \
--description 'Gerbil Package' /opt/gerbil"

package-amazonlinux:
docker run -v $(PWD):/src:z -t gerbil/amazonlinux \
bash -c "amazon-linux-extras install -y ruby2.6 && \
yum install -y ruby-devel rubygems rpm-build && \
gem install fpm && \
fpm -s dir -p /src/ -t rpm \
-n gerbil-$(GERBIL_VERSION)-gambit-$(GAMBIT_VERSION).amazonlinux \
--description 'Gambit and Gerbil Package' /opt/gerbil /opt/gambit"
-n gerbil-$(GERBIL_VERSION).amazonlinux \
--description 'Gerbil Package' /opt/gerbil"

packages: package-ubuntu package-fedora

Expand Down