HUB
Sign inSign up
taap logo

darthjee/taap

By darthjee

•Updated 17 days ago

Image
0

1.0K

darthjee/taap repository overview

⁠darthjee/taap

docker

⁠About the image

The darthjee/taap image is a development image for Rails applications with an AngularJS front end that also need to plot charts. It is built on top of darthjee/taa⁠, which provides Ruby 3.4.12, Node.js 24, Bundler 4, Yarn, the gems most of these Rails applications need and the AngularJS packages, and adds the danica and gnuplot gems and the gnuplot command-line tool.

Its working directory is /home/app/app, which is owned by the app user (uid 1000), also the image's default user.

Note: This image moved from Ruby 3.3.1 to Ruby 3.4.12, to Node.js 24 and to Bundler 4, inherited from darthjee/taa, and the gems it shares with darthjee/taa were upgraded along with the base (including Rails 7.2 patch releases and Rack 3.2). Check that your project runs on Ruby 3.4 and Node.js 24 before upgrading.

⁠What is added

On top of everything provided by darthjee/taa, this image adds:

  • danica — gem for writing mathematical formulas and plotting them
  • gnuplot — gem for driving gnuplot from Ruby
  • the gnuplot command-line tool — installed with apt-get from the gnuplot-nox package, without X11/Qt support (it can render to files and terminals, not to GUI windows)

⁠Pre-installed gems and pre-cached packages

The danica and gnuplot gems are installed alongside the gems (in /usr/local/bundle, including the development and test groups) inherited from darthjee/taa⁠. The Node packages are not installed: they are pre-cached in the Yarn cache (/usr/local/share/.cache/yarn/v6), also inherited, and only used when a project's yarn install asks for them. See the darthjee/taa description for the lists.

Note: The JS packages pre-cached in darthjee/taa⁠ include breaking upgrades: angular / angular-route are version 1.8 (a breaking upgrade from 1.4), js-cookie is version 3 (a breaking upgrade from 2) and jquery is version 3.7. See the darthjee/taa description for the details and the migration links.

⁠How to use

This image is intended to be used as a base for Rails applications with an AngularJS front end. To build on top of it, reference it in your Dockerfile (see the available tags at https://hub.docker.com/r/darthjee/taap/tags⁠):

FROM darthjee/taap:<version>

COPY --chown=app:app Gemfile Gemfile.lock /home/app/app/
RUN bundle install

Gems already installed in the image are reused when your Gemfile.lock asks for the same versions; only the project's other gems are installed.

⁠License

See the LICENSE file for more information.

Tag summary

Content type

Image

Digest

sha256:f75be7d5b…

Size

553.9 MB

Last updated

17 days ago

docker pull darthjee/taap