-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v1.3.10 + fix java release + add build scripts for releasing
- Loading branch information
Showing
4 changed files
with
19 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
ARG RUBY_VERSION=latest | ||
FROM ruby:${RUBY_VERSION} | ||
ARG RUBY_VERSION | ||
ARG RUBY_PLATFORM | ||
FROM ${RUBY_PLATFORM}:${RUBY_VERSION} | ||
|
||
WORKDIR /usr/src/app | ||
|
||
RUN mkdir -p lib/jsonb_accessor | ||
COPY lib/jsonb_accessor/version.rb ./lib/jsonb_accessor/ | ||
COPY *.gemspec Gemfile* ./ | ||
RUN apt-get update && apt-get install -y --no-install-recommends git | ||
|
||
RUN bundle install | ||
WORKDIR /usr/src/app | ||
|
||
COPY . . | ||
COPY lib/jsonb_accessor/version.rb ./lib/jsonb_accessor/version.rb | ||
COPY jsonb_accessor.gemspec Gemfile ./ | ||
# RUN bundle install | ||
COPY . ./ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
build-gem: | ||
@docker build --build-arg RUBY_PLATFORM=ruby --build-arg RUBY_VERSION=3.2.2 -t jsonb_accessor-ruby:3.2.2 . | ||
@docker run --rm -v $(PWD):/usr/src/app -w /usr/src/app jsonb_accessor-ruby:3.2.2 gem build | ||
|
||
build-gem-java: | ||
@docker build --build-arg RUBY_PLATFORM=jruby --build-arg RUBY_VERSION=9.4.2-jdk -t jsonb_accessor-jruby:9.4.2-jdk . | ||
@docker run --rm -v $(PWD):/usr/src/app -w /usr/src/app jsonb_accessor-jruby:9.4.2-jdk gem build --platform java |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# frozen_string_literal: true | ||
|
||
module JsonbAccessor | ||
VERSION = "1.3.8" | ||
VERSION = "1.3.10" | ||
end |