mirror of
https://github.com/bitnami/containers.git
synced 2026-03-16 06:49:12 +08:00
2.2.10-ol-7-r0 release
Update ruby to 2.2.10
This commit is contained in:
18
bitnami/ruby/2.2/ol-7/Dockerfile
Normal file
18
bitnami/ruby/2.2/ol-7/Dockerfile
Normal file
@@ -0,0 +1,18 @@
|
||||
FROM bitnami/oraclelinux-extras:7-r5
|
||||
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
||||
|
||||
# Install required system packages and dependencies
|
||||
RUN install_packages build-essential ca-certificates curl git glibc keyutils-libs krb5-libs libcom_err libselinux ncurses-libs nss-softokn-freebl openssl-libs pcre pkg-config readline unzip wget zlib
|
||||
RUN bitnami-pkg install ruby-2.2.10-0 --checksum 8c775f6f5b8fdf727b274ac906dad8327cf20d92086e3e3e3046a557a9c29a63
|
||||
RUN /opt/bitnami/ruby/bin/gem install bundler
|
||||
|
||||
COPY rootfs /
|
||||
ENV BITNAMI_APP_NAME="ruby" \
|
||||
BITNAMI_IMAGE_VERSION="2.2.10-ol-7-r0" \
|
||||
PATH="/opt/bitnami/ruby/bin:$PATH"
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
WORKDIR /app
|
||||
ENTRYPOINT ["/app-entrypoint.sh"]
|
||||
CMD ["irb"]
|
||||
11
bitnami/ruby/2.2/ol-7/docker-compose.yml
Normal file
11
bitnami/ruby/2.2/ol-7/docker-compose.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
version: '2'
|
||||
|
||||
services:
|
||||
ruby:
|
||||
tty: true # Enables debugging capabilities when attached to this container.
|
||||
image: 'bitnami/ruby:2.2-ol-7'
|
||||
# command: sh -c 'bundle install && bundle exec rails server -b 0.0.0.0 -p 3000'
|
||||
ports:
|
||||
- 3000:3000
|
||||
volumes:
|
||||
- .:/app
|
||||
10
bitnami/ruby/2.2/ol-7/rootfs/app-entrypoint.sh
Executable file
10
bitnami/ruby/2.2/ol-7/rootfs/app-entrypoint.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
. /opt/bitnami/base/functions
|
||||
. /opt/bitnami/base/helpers
|
||||
|
||||
print_welcome_page
|
||||
|
||||
|
||||
|
||||
exec tini -- "$@"
|
||||
Reference in New Issue
Block a user