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

Fix Amazonlinux docker and package #677

Merged
merged 8 commits into from
Jul 5, 2022
Merged
Changes from 1 commit
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
Prev Previous commit
fixup amazonlinux package
  • Loading branch information
ober committed Jul 5, 2022
commit 00d24a0f738fbb30eebcc0dcb4d50524519db6c4
9 changes: 5 additions & 4 deletions docker/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -141,23 +141,24 @@ ubuntu-current-jedi:
package-ubuntu:
docker run -v $(PWD):/src -t gerbil/ubuntu \
bash -c "gem install fpm && \
fpm -s dir -p /src/ -t deb -n gerbil-$(gerbil_version)-gambit-$(gambit_version).ubuntu \
fpm -s dir -p /src/ -t deb -n gerbil-$(GERBIL_VERSION)-gambit-$(GAMBIT_VERSION).ubuntu \
--description 'Gambit and Gerbil Package' /opt/gerbil /opt/gambit"

package-fedora:
docker run -v $(PWD):/src -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 \
-n gerbil-$(GERBIL_VERSION)-gambit-$(GAMBIT_VERSION).fedora \
--description 'Gambit and Gerbil Package' /opt/gerbil /opt/gambit"

package-amazonlinux:
docker run -v $(PWD):/src -t gerbil/amazonlinux \
bash -c "yum install -y rubygems ruby-devel rpm-build && \
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 \
-n gerbil-$(GERBIL_VERSION)-gambit-$(GAMBIT_VERSION).amazonlinux \
--description 'Gambit and Gerbil Package' /opt/gerbil /opt/gambit"

packages: package-ubuntu package-fedora
Expand Down