Commit graph

22 commits

Author SHA1 Message Date
Bradley M. Kuhn
d6e334ea1c docker: rvm installation, but don't use get.rvm.io script.
The README.md currently suggests these commands to install rvm:

     curl -sSL https://rvm.io/mpapis.asc | gpg --import -
     curl -sSL https://rvm.io/pkuczynski.asc | gpg --import -
     curl -sSL https://get.rvm.io | bash -s stable
     source $HOME/.rvm/scripts/rvm
     echo 'source "$HOME/.rvm/scripts/rvm"' >> ~/.bashrc
     rvm install 2.7.3 --disable-binary --with-jemalloc

Instead of downloading the https://get.rvm.io script, just put the
two keys in the repository and do the basic operations that are
required, rather than grabbing a shell script from a website and just
running it.

Also, run `rvm autolibs disable` so that the `rvm` command, which
does not run as root, will not seek to use sudo.  I checked the
Debian system requirements that `rvm requirements` was looking for,
and added those to `script/build/debian/prebuild.sh`.

Hopefully, the semantics of `rvm requirements` is that it will exit
non-zero if some requirements are missing, which is the desired
behavior, since it flags that `script/build/debian/prebuild.sh` must
be updated.
2021-08-09 19:37:04 -07:00
Bradley M. Kuhn
bede0068a6 docker: do not use houdini user account before it exists. 2021-08-09 19:01:01 -07:00
Bradley M. Kuhn
d2c6ce6d48 docker: Node/Yarn: install nodesource & yarn keys from local copy
As an additional security measure, don't use the network version of
setup_14.x.  Instead, save nodesource and yarn keys locally and do
the operations in the Dockerfile to install the keys.  Then, simply
do the apt install of the dependencies needed from both places.

Keep a copy of the setup_14.x in the data directory as well.  In
future, it might be useful to have a script that compares the
versions of that script and keys on the nodesource and yarn websites
— mainly to semi-automatically verify if upstream details have
changed.
2021-08-09 19:00:58 -07:00
Bradley M. Kuhn
6d783df5f1 docker: begin rewrite of Dockerfile setup for current instructions
First step in rewriting the Dockerfile to match the current
setup/installation/configuration instructions as found in README.md.

First step it to comment out some of the later stuff, and begin setup
of installing everything into /houdini (instead of /myapp) and doing
everything under the houdini user.
2021-08-09 16:55:39 -07:00
Bradley M. Kuhn
41ac73b00c docker: docker-compose: switch to version 3, call this houdini image 2021-08-09 16:55:39 -07:00
Eric
6e01ac5826 Update docker scripts to Node 14 and Postgres 12 2020-07-30 16:21:38 -05:00
Eric Schultz
abbfae739c Removal of the codegen 2020-04-23 14:09:58 -05:00
Eric Schultz
2b62a37ec5 Update to Ruby 2.6.6 2020-04-16 13:50:52 -05:00
Eric Schultz
4e41f40863 Remove memcached from development version 2019-11-06 14:48:14 -06:00
Eric Schultz
7763a84d93 Update bundler 2019-11-05 16:17:11 -06:00
Eric Schultz
e4722ec3ca Update Node 13 (simplifies ICU) 2019-11-05 15:37:47 -06:00
Eric Schultz
ef74b4a57f Update Docker ruby image 2019-10-28 12:47:04 -05:00
Eric Schultz
133986cf40
Update to Ruby 2.4 2019-08-02 19:07:23 +02:00
Eric Schultz
c0eb3f40bd REBUILD WITH ./dc build -- Add full-icu to docker containers because Node doesn't include it 2019-05-31 17:19:51 -05:00
Eric Schultz
6cea5924bd Improve docker-compose setup 2019-01-17 11:50:55 -06:00
Eric Schultz
c2a221a8dc Include qx into the repo 2019-01-09 17:57:35 -06:00
Eric Schultz
8bab112daf Fix issue where you couldn't install gems at runtime 2018-12-10 15:23:46 -06:00
Eric Schultz
d4b867e930 Working .travis.yml 2018-11-12 16:46:17 -06:00
Eric Schultz
427309dd0a Merge branch 'docker-improvements' into travis-test 2018-10-25 17:12:28 -05:00
Eric Schultz
2780abd944 Update to a more usable Docker format 2018-10-25 17:01:52 -05:00
Eric Schultz
edad4a51d6 test two! 2018-09-07 13:26:37 -05:00
Eric Schultz
d5e872bb72 Update to a more usable Docker format 2018-09-07 13:26:37 -05:00