Run update.sh

This commit is contained in:
Docker Library Bot 2021-10-06 14:12:59 -07:00
parent 692b374741
commit e7a49f71b8
2 changed files with 4 additions and 4 deletions

View File

@ -75,7 +75,7 @@ Ruby is a dynamic, reflective, object-oriented, general-purpose, open-source pro
## Create a `Dockerfile` in your Ruby app project
```dockerfile
FROM ruby:2.5
FROM ruby:3.0
# throw errors if Gemfile has been modified since Gemfile.lock
RUN bundle config --global frozen 1
@ -104,7 +104,7 @@ $ docker run -it --name my-running-script my-ruby-app
The above example `Dockerfile` expects a `Gemfile.lock` in your app directory. This `docker run` will help you generate one. Run it in the root of your app, next to the `Gemfile`:
```console
$ docker run --rm -v "$PWD":/usr/src/app -w /usr/src/app ruby:2.5 bundle install
$ docker run --rm -v "$PWD":/usr/src/app -w /usr/src/app ruby:3.0 bundle install
```
## Run a single Ruby script
@ -112,7 +112,7 @@ $ docker run --rm -v "$PWD":/usr/src/app -w /usr/src/app ruby:2.5 bundle install
For many simple, single file projects, you may find it inconvenient to write a complete `Dockerfile`. In such cases, you can run a Ruby script by using the Ruby Docker image directly:
```console
$ docker run -it --rm --name my-running-script -v "$PWD":/usr/src/myapp -w /usr/src/myapp ruby:2.5 ruby your-daemon-or-script.rb
$ docker run -it --rm --name my-running-script -v "$PWD":/usr/src/myapp -w /usr/src/myapp ruby:3.0 ruby your-daemon-or-script.rb
```
## Encoding

View File

@ -24,7 +24,7 @@ WARNING:
# Supported tags and respective `Dockerfile` links
- [`1.8.3`, `latest`](https://github.com/hashicorp/docker-vault/blob/360dfcd6bea6270c1c1f35ed86a3e83600bc307b/0.X/Dockerfile)
- [`1.8.4`, `latest`](https://github.com/hashicorp/docker-vault/blob/afd95e20b8828a1ef1cbfbeea385e0681fa0dab4/0.X/Dockerfile)
- [`1.7.5`](https://github.com/hashicorp/docker-vault/blob/44503a23af7b28d1c317f384e904ba84c3753f81/0.X/Dockerfile)
- [`1.6.7`](https://github.com/hashicorp/docker-vault/blob/ee3213df631000172da382184a516a72a7266b76/0.X/Dockerfile)
- [`1.5.9`](https://github.com/hashicorp/docker-vault/blob/72a3539fd91085b2d51cfc87cd9bcf0804e3a5cf/0.X/Dockerfile)