File: Dockerfile_centos

package info (click to toggle)
ruby-mysql2 0.5.5-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,096 kB
  • sloc: ansic: 3,459; ruby: 3,334; sh: 226; makefile: 3
file content (25 lines) | stat: -rw-r--r-- 532 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
ARG IMAGE=centos:7
FROM ${IMAGE}

WORKDIR /build
COPY . .

RUN cat /etc/redhat-release
RUN yum -yq update
RUN yum -yq install epel-release
# The options are to install faster.
RUN yum -yq install \
  --setopt=deltarpm=0 \
  --setopt=install_weak_deps=false \
  --setopt=tsflags=nodocs \
  gcc \
  gcc-c++ \
  git \
  make \
  mariadb-devel \
  mariadb-server \
  ruby-devel
RUN gem install --no-document "rubygems-update:~>2.7" && update_rubygems > /dev/null
RUN gem install --no-document "bundler:~>1.17"

CMD bash ci/container.sh