-
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.
- Loading branch information
Julen Godoy
committed
May 29, 2023
1 parent
9e7e1a6
commit 5b4bc2b
Showing
10 changed files
with
94 additions
and
12 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 @@ | ||
ENV_RUBY_VERSION=2.7 |
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
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,22 @@ | ||
version: '3.2' | ||
|
||
services: | ||
app: | ||
build: | ||
context: . | ||
dockerfile: dockerfile | ||
args: | ||
RUBY_VERSION: ${ENV_RUBY_VERSION} | ||
tty: true | ||
stdin_open: true | ||
command: irb | ||
volumes: | ||
- .:/app | ||
- bundle_path:/bundle | ||
environment: | ||
BUNDLE_FORCE_RUBY_PLATFORM: 'true' | ||
GITHUB_TOKEN: ${GITHUB_TOKEN} | ||
BUNDLE_PATH: /bundle/vendor | ||
|
||
volumes: | ||
bundle_path: |
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,9 @@ | ||
#!/bin/sh | ||
|
||
set -e | ||
|
||
gem install bundler -v 2.3.26 | ||
./bin/setup | ||
bundle check | ||
|
||
exec "$@" |
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,6 @@ | ||
[url "https://github.com/"] | ||
insteadOf = [email protected]: | ||
[credential "https://github.com"] | ||
username = x-oauth-token | ||
[credential] | ||
helper = "!f() { echo \"password=$GITHUB_TOKEN\"; }; f" |
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,24 @@ | ||
ARG RUBY_VERSION | ||
|
||
FROM ruby:${RUBY_VERSION}-slim | ||
|
||
WORKDIR /app | ||
|
||
|
||
RUN apt-get update && apt-get install \ | ||
-yq \ | ||
--no-install-suggests \ | ||
--no-install-recommends \ | ||
--allow-downgrades \ | ||
--allow-remove-essential \ | ||
--allow-change-held-packages \ | ||
git build-essential \ | ||
libffi-dev && apt clean | ||
# git build-essential libffi-dev \ | ||
# && apt clean | ||
|
||
# To get gems from git | ||
COPY docker/gitconfig /root/.gitconfig | ||
COPY docker/entrypoint.sh / | ||
|
||
ENTRYPOINT ["/entrypoint.sh"] |
Binary file not shown.
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 @@ | ||
libxlsxwriter.so.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