forked from mloughran/signature
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Upgrade rspec gem and fix specs - Dockerfile and docker compose
- Loading branch information
Weslley Almeida
committed
Feb 14, 2024
1 parent
caf9e81
commit f60a51e
Showing
6 changed files
with
120 additions
and
73 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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
--- | ||
BUNDLE_BUILD__EVENTMACHINE: "--with-openssl-dir=/opt/homebrew/opt/openssl@3" |
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,21 @@ | ||
FROM public.ecr.aws/docker/library/ruby:3.2.3-alpine3.19 | ||
|
||
RUN apk add --no-cache --update git build-base bash | ||
|
||
|
||
RUN echo "#!/bin/sh" >> /entrypoint.sh && \ | ||
echo 'exec "$@"' >>/entrypoint.sh && \ | ||
chmod +x /entrypoint.sh | ||
COPY signature.gemspec Gemfile Gemfile.lock /app/ | ||
COPY lib/signature/version.rb /app/lib/signature/ | ||
|
||
WORKDIR /app | ||
|
||
RUN gem update --system 3.3.26 | ||
RUN gem install bundler:2.4.22 | ||
|
||
RUN bundle install | ||
|
||
COPY . /app/ | ||
|
||
ENTRYPOINT ["/bin/sh", "/entrypoint.sh"] |
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,33 +1,41 @@ | ||
PATH | ||
remote: . | ||
specs: | ||
signature (0.1.8) | ||
signature (0.1.9) | ||
|
||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
bacon (1.2.0) | ||
diff-lcs (1.2.4) | ||
diff-lcs (1.5.1) | ||
em-spec (0.2.6) | ||
bacon | ||
eventmachine | ||
rspec (> 2.6.0) | ||
test-unit | ||
eventmachine (1.0.7) | ||
rspec (2.13.0) | ||
rspec-core (~> 2.13.0) | ||
rspec-expectations (~> 2.13.0) | ||
rspec-mocks (~> 2.13.0) | ||
rspec-core (2.13.1) | ||
rspec-expectations (2.13.0) | ||
diff-lcs (>= 1.1.3, < 2.0) | ||
rspec-mocks (2.13.1) | ||
rspec (3.13.0) | ||
rspec-core (~> 3.13.0) | ||
rspec-expectations (~> 3.13.0) | ||
rspec-mocks (~> 3.13.0) | ||
rspec-core (3.13.0) | ||
rspec-support (~> 3.13.0) | ||
rspec-expectations (3.13.0) | ||
diff-lcs (>= 1.2.0, < 2.0) | ||
rspec-support (~> 3.13.0) | ||
rspec-mocks (3.13.0) | ||
diff-lcs (>= 1.2.0, < 2.0) | ||
rspec-support (~> 3.13.0) | ||
rspec-support (3.13.0) | ||
test-unit (2.5.4) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
em-spec | ||
rspec | ||
rspec (~> 3.13.0) | ||
signature! | ||
|
||
BUNDLED WITH | ||
2.4.22 |
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,16 @@ | ||
version: '3.5' | ||
|
||
services: | ||
signature: | ||
stdin_open: true | ||
build: | ||
dockerfile: Dockerfile | ||
context: . | ||
volumes: | ||
- .:/app | ||
command: "bash -c 'while true; do sleep 2; done'" | ||
logging: &default-logging-options | ||
driver: json-file | ||
options: | ||
max-size: "20m" | ||
max-file: "5" |
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
Oops, something went wrong.