Skip to content

Commit 9752016

Browse files
author
Ken Johnson
authored
Merge pull request #429 from horvatic/master
add setup for mac apple silicon
2 parents d2338f7 + 3ebae3d commit 9752016

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ruby:2.6.5
1+
FROM --platform=linux/amd64 ruby:2.6.5
22
RUN apt-get update -qq && apt-get install -y build-essential libpq-dev nodejs
33
RUN mkdir /myapp
44
WORKDIR /myapp

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ Open your favorite browser, navigate to `http://localhost:3000` and start hackin
5555
## Docker Install
5656
To run Railsgoat with Docker you must first have [Docker](https://docs.docker.com/engine/installation/) and [Docker Compose](https://docs.docker.com/compose/install/) installed. Once those dependencies are installed, cd into the Railsgoat directory where you've cloned the code and run. Rails requires Compose **1.6.0** or above and require a Docker Engine of version **1.10.0** or above.
5757

58+
For Mac Apple Silicon (ARM64) you must also have Rosetta install
59+
5860
```
5961
#~/code/railsgoat
6062
$ docker-compose build

0 commit comments

Comments
 (0)