-
Notifications
You must be signed in to change notification settings - Fork 16
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
Showing
3 changed files
with
48 additions
and
6 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,8 +1,13 @@ | ||
FROM ruby:2.5.3-alpine | ||
MAINTAINER Stepik Team <ab@stepik.org> | ||
FROM ruby:3.2.3-alpine3.18 | ||
LABEL maintainer="Stepik Team <team@stepik.org>" | ||
|
||
RUN adduser -DH -h /sandbox sandbox && \ | ||
apk add --no-cache --virtual build-dependencies build-base && \ | ||
apk add --no-cache sqlite-dev && \ | ||
gem install rspec:3.8.0 sqlite3:1.3.13 sequel:5.15.0 && \ | ||
RUN adduser -DH -h /sandbox sandbox | ||
|
||
WORKDIR /sandbox | ||
|
||
COPY Gemfile Gemfile.lock ./ | ||
|
||
RUN apk add --no-cache --virtual build-dependencies build-base sqlite-dev make gcc musl-dev && \ | ||
bundle config --global frozen 1 && \ | ||
bundle install && \ | ||
apk del build-dependencies |
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,5 @@ | ||
source "https://rubygems.org" | ||
|
||
gem "rspec", "~> 3.13" | ||
gem "sqlite3", "~> 1.7" | ||
gem "sequel", "~> 5.78" |
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,32 @@ | ||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
bigdecimal (3.1.6) | ||
diff-lcs (1.5.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.1) | ||
sequel (5.78.0) | ||
bigdecimal | ||
sqlite3 (1.7.2-x86_64-linux) | ||
|
||
PLATFORMS | ||
x86_64-linux-musl | ||
|
||
DEPENDENCIES | ||
rspec (~> 3.13) | ||
sequel (~> 5.78) | ||
sqlite3 (~> 1.7) | ||
|
||
BUNDLED WITH | ||
2.4.10 |