Compare commits
5 commits
169fcd305b
...
7e2c1d58f6
Author | SHA1 | Date | |
---|---|---|---|
|
7e2c1d58f6 | ||
|
6eb1d60f03 | ||
|
a92d4a1a32 | ||
|
dc1b336ba4 | ||
|
4ac6d08bc8 |
3 changed files with 5 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
||||||
FROM ruby:2.3
|
FROM ruby:2.7.5
|
||||||
|
|
||||||
RUN supercronicUrl=https://github.com/aptible/supercronic/releases/download/v0.1.3/supercronic-linux-amd64 && \
|
RUN supercronicUrl=https://github.com/aptible/supercronic/releases/download/v0.1.3/supercronic-linux-amd64 && \
|
||||||
supercronicBin=/usr/local/bin/supercronic && \
|
supercronicBin=/usr/local/bin/supercronic && \
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
FROM alpine:3.5
|
FROM alpine:3.14
|
||||||
|
|
||||||
ENV BUILD_PKGS="build-base ruby-dev libffi-dev libxml2-dev mariadb-dev" \
|
ENV BUILD_PKGS="build-base ruby-dev libffi-dev libxml2-dev mariadb-dev sqlite-dev" \
|
||||||
RUNTIME_PKGS="ruby ruby-json ruby-bigdecimal ruby-irb ruby-bundler ca-certificates mariadb-client" \
|
RUNTIME_PKGS="ruby ruby-json ruby-bigdecimal ruby-irb ruby-bundler ca-certificates mariadb-client sqlite tzdata" \
|
||||||
DEVELOPMENT_PKGS="bash"
|
DEVELOPMENT_PKGS="bash"
|
||||||
|
|
||||||
RUN apk --no-cache add $BUILD_PKGS $RUNTIME_PKGS $DEVELOPMENT_PKGS
|
RUN apk --no-cache add $BUILD_PKGS $RUNTIME_PKGS $DEVELOPMENT_PKGS
|
||||||
|
|
|
@ -8,7 +8,7 @@ services:
|
||||||
build:
|
build:
|
||||||
context: ./
|
context: ./
|
||||||
dockerfile: Dockerfile.development
|
dockerfile: Dockerfile.development
|
||||||
command: rails server --bind 0.0.0.0
|
command: bundle exec rails server -b 0.0.0.0
|
||||||
volumes:
|
volumes:
|
||||||
- ./:/srv/app
|
- ./:/srv/app
|
||||||
ports:
|
ports:
|
||||||
|
|
Loading…
Reference in a new issue