Skip to content
This repository was archived by the owner on Nov 9, 2021. It is now read-only.

Commit 21f7df2

Browse files
committed
Setup Ruby 2.6.0 and Node 10.15.0
0 parents  commit 21f7df2

2 files changed

Lines changed: 38 additions & 0 deletions

File tree

Dockerfile

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
FROM jwilder/dockerize as dockerize
2+
FROM node:10.15.0-alpine as node
3+
FROM ruby:2.6.0-alpine
4+
5+
COPY --from=dockerize /usr/local/bin/dockerize /usr/local/bin/
6+
COPY --from=node /usr/local/lib/node_modules /usr/local/lib/node_modules
7+
COPY --from=node /usr/local/bin/node /usr/local/bin/
8+
RUN ln -s /usr/local/lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npm
9+
10+
RUN apk update && \
11+
apk add -t \
12+
build-dependencies \
13+
build-base \
14+
tzdata \
15+
curl \
16+
git \
17+
imagemagick \
18+
postgresql-dev \
19+
yarn
20+
21+
CMD ["/bin/sh"]

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# shimbaco/ruby
2+
3+
4+
## Development
5+
6+
```
7+
$ docker build -t shimbaco/ruby .
8+
$ docker container run -i -t <Image ID> /bin/ash
9+
```
10+
11+
## Push to Docker Hub
12+
13+
```
14+
$ docker build -t shimbaco/ruby .
15+
$ docker tag shimbaco/ruby shimbaco/ruby:2.6.0-node_10.15.0
16+
$ docker push shimbaco/ruby:2.6.0-node_10.15.0
17+
```

0 commit comments

Comments
 (0)