Skip to content

Commit

Permalink
updates Dockerfile for new node installation; updates gems
Browse files Browse the repository at this point in the history
  • Loading branch information
niquerio committed Sep 11, 2023
1 parent ac1db38 commit 8b2c922
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 12 deletions.
10 changes: 8 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,20 @@ FROM ruby:3.2 AS development
ARG UNAME=app
ARG UID=1000
ARG GID=1000
ARG NODE_MAJOR=20

RUN curl -sL https://deb.nodesource.com/setup_18.x | bash -

RUN apt-get update -yqq && apt-get install -yqq --no-install-recommends \
ca-certificates \
gnupg \
apt-transport-https \
nodejs \
vim-tiny

RUN mkdir -p /etc/apt/keyrings
RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_${NODE_MAJOR}.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list
RUN apt-get update -yqq && apt-get install -yqq --no-install-recommends nodejs

RUN gem install bundler
RUN npm install -g npm

Expand Down
20 changes: 10 additions & 10 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ GIT
GEM
remote: https://rubygems.org/
specs:
activemodel (7.0.7)
activesupport (= 7.0.7)
activesupport (7.0.7)
activemodel (7.0.8)
activesupport (= 7.0.8)
activesupport (7.0.8)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
tzinfo (~> 2.0)
addressable (2.8.5)
public_suffix (>= 2.0.2, < 6.0)
aes_key_wrap (1.1.0)
anyway_config (2.5.1)
anyway_config (2.5.2)
ruby-next-core (>= 0.14.0)
ast (2.4.2)
attr_required (1.0.1)
Expand Down Expand Up @@ -67,7 +67,7 @@ GEM
net-smtp
method_source (1.0.0)
mini_mime (1.1.5)
minitest (5.19.0)
minitest (5.20.0)
multi_json (1.15.0)
multi_xml (0.6.0)
mustermann (3.0.0)
Expand Down Expand Up @@ -146,7 +146,7 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-support (3.12.1)
rubocop (1.56.1)
rubocop (1.56.3)
base64 (~> 0.1.1)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
Expand Down Expand Up @@ -185,10 +185,10 @@ GEM
tilt (~> 2.0)
sinatra-flash (0.3.0)
sinatra (>= 1.0.0)
standard (1.31.0)
standard (1.31.1)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.0)
rubocop (~> 1.56.0)
rubocop (~> 1.56.2)
standard-custom (~> 1.0.0)
standard-performance (~> 1.2)
standard-custom (1.0.2)
Expand Down Expand Up @@ -218,7 +218,7 @@ GEM
activesupport
faraday (~> 2.0)
faraday-follow_redirects
webmock (3.18.1)
webmock (3.19.1)
addressable (>= 2.8.0)
crack (>= 0.3.2)
hashdiff (>= 0.4.0, < 2.0.0)
Expand Down Expand Up @@ -264,4 +264,4 @@ DEPENDENCIES
yabeda-puma-plugin

BUNDLED WITH
2.4.13
2.4.19

0 comments on commit 8b2c922

Please sign in to comment.