Skip to content

Commit

Permalink
Merge pull request #102 from thomasferrandiz/remove-centos
Browse files Browse the repository at this point in the history
Use bci-base to build runit
  • Loading branch information
thomasferrandiz authored Jul 10, 2024
2 parents 66a9183 + 9327014 commit 40f6f22
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -139,15 +139,15 @@ RUN install -D -s bin/check-status /usr/local/bin/

### BEGIN RUNIT ###
# We need to build runit because there aren't any rpms for it in CentOS or BCI repositories.
FROM centos:7 AS runit-amd64
FROM centos:7 AS runit-arm64
FROM clefos:7 AS runit-s390x
FROM runit-${ARCH} AS runit
FROM ${BCI_IMAGE} AS runit
ARG RUNIT_VER=2.1.2
# Install build dependencies and security updates.
RUN yum install -y rpm-build yum-utils make && \
yum install -y wget glibc-static gcc && \
yum -y update-minimal --security --sec-severity=Important --sec-severity=Critical
# RUN yum install -y rpm-build yum-utils make && \
# yum install -y wget glibc-static gcc && \
# yum -y update-minimal --security --sec-severity=Important --sec-severity=Critical
RUN zypper update -y && \
zypper install -y \
make gcc wget glibc-devel glibc-devel-static
# runit is not available in bci or CentOS repos so build it.
ADD http://smarden.org/runit/runit-${RUNIT_VER}.tar.gz /tmp/runit.tar.gz
WORKDIR /opt/local
Expand Down

0 comments on commit 40f6f22

Please sign in to comment.