install.sh 337 B

123456789101112
  1. #!/bin/sh
  2. set -eu
  3. # Copy some file from this script's directory to the rootfs.
  4. install -D -m 755 hello_world.rb /app/hello_world.rb
  5. # Install some dev packages and gem mailcatcher.
  6. apk add --no-progress -t .make build-base ruby-dev sqlite-dev
  7. gem install --no-document mailcatcher
  8. # Clean-up dev packages.
  9. apk del --no-progress .make