Skip to content

Commit df57020

Browse files
switch back to custom dockerfile
1 parent 6b6346c commit df57020

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

Dockerfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
FROM ruby:3.0.5
2+
3+
WORKDIR /app
4+
5+
# Copy bare minimum files to install gems
6+
COPY Gemfile aws-google.gemspec /app/
7+
COPY lib /app/lib
8+
RUN bundle install

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,10 @@ Prerequisites:
9797

9898
* Ruby 3.0.5
9999

100-
You can have Ruby installed locally, or use Docker and mount this repository into a Ruby container. By using Docker you can avoid conflicts with differing Ruby versions or other installed gems. To run and 'bash' into a Ruby container, install Docker and run the following. See [docker-compose.yml](docker-compose.yml) for details, or to experiment with different Ruby versions.
100+
You can have Ruby installed locally, or use Docker and mount this repository into a Ruby container. By using Docker you can avoid conflicts with differing Ruby versions or other installed gems. To run and 'bash' into a Ruby container, install Docker and run the following. See [docker-compose.yml](docker-compose.yml) for details.
101101

102102
```
103+
docker compose build
103104
docker compose run ruby
104105
```
105106

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: '3'
22
services:
33
ruby:
4-
image: ruby:3.0.5
4+
build: .
55
volumes:
66
- .:/app
77
working_dir: /app

0 commit comments

Comments
 (0)