Skip to content

Commit ffb69b8

Browse files
committed
Add bin/docker script;
Add gcompat to run on apple silicon
1 parent d3cbdf9 commit ffb69b8

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM ruby:3.1.0-alpine
22

33
ARG RAILS_ROOT=/docker-done-right
44
ARG PACKAGES="vim openssl-dev postgresql-dev mongodb-tools build-base \
5-
curl less tzdata git postgresql-client bash screen"
5+
curl less tzdata git postgresql-client bash screen gcompat"
66

77
RUN apk update \
88
&& apk upgrade \

bin/docker

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/sh
2+
3+
set -e
4+
5+
docker-compose up -d
6+
docker-compose exec web bin/setup
7+
docker-compose exec web bin/rspec
8+
docker-compose exec web bash

0 commit comments

Comments
 (0)