Unbreak running Docker outside CI by setting default Ruby version

Dockerfile accepts a Ruby version as an argument but the Makefile does not provide one. Resulting in an error when calling `make image`:

```
 ~: make image
docker build -t gh-pages .
Sending build context to Docker daemon  1.232MB
Step 1/17 : ARG RUBY_VERSION
Step 2/17 : FROM ruby:$RUBY_VERSION
invalid reference format
make: *** [image] Error 1
```

Set a default Ruby version to prevent this happening. Version was chosen to be consistent with `.ruby-version`.
This commit is contained in:
Chris Lewis 2020-08-11 17:25:34 +10:00
Родитель 1cb8d3b5e6
Коммит d0d286719a
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -1,4 +1,4 @@
ARG RUBY_VERSION
ARG RUBY_VERSION=2.7.1
FROM ruby:$RUBY_VERSION
RUN apt-get update \