2.2.10-ol-7-r0 release

Update ruby to 2.2.10
This commit is contained in:
Bitnami Bot
2018-06-05 14:11:25 +00:00
parent 9ad5547a15
commit 4f3207b6ab
4 changed files with 40 additions and 1 deletions

View 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"]

View 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

View File

@@ -0,0 +1,10 @@
#!/bin/bash -e
. /opt/bitnami/base/functions
. /opt/bitnami/base/helpers
print_welcome_page
exec tini -- "$@"