Skip to content

Commit

Permalink
this fixes the issue with packages not appearing in PWD (#1238)
Browse files Browse the repository at this point in the history
  • Loading branch information
ober authored Jun 7, 2024
1 parent 8570e3c commit 58618be
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -220,25 +220,25 @@ ubuntu-current-jedi:
docker tag ubuntu-current-jedi gerbil/jedi:ubuntu

package-ubuntu:
docker run -v $(PWD):/src:z -t gerbil/ubuntu:$(arch)-$(BRANCH) \
docker run -v $(ROOT_DIR):/src:z -t gerbil/ubuntu:$(arch)-$(BRANCH) \
bash -c "gem install fpm && \
fpm -s dir -p /src/ -t deb -n gerbil-$(BRANCH).ubuntu \
--description 'Gerbil Scheme Package' /opt/gerbil"

package-tgz:
docker run -v $(PWD):/src:z -t gerbil/ubuntu:$(arch)-$(BRANCH) \
docker run -v $(ROOT_DIR):/src:z -t gerbil/ubuntu:$(arch)-$(BRANCH) \
bash -c "tar -czvf /src/gerbil-$(BRANCH).$(arch).tgz /opt/gerbil"

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

package-amazonlinux:
docker run -v $(PWD):/src:z -t gerbil/amazonlinux:$(arch)-$(BRANCH) \
docker run -v $(ROOT_DIR):/src:z -t gerbil/amazonlinux:$(arch)-$(BRANCH) \
bash -c "amazon-linux-extras install -y ruby2.6 && \
yum install -y ruby-devel rubygems rpm-build && \
gem install fpm && \
Expand Down

0 comments on commit 58618be

Please sign in to comment.