Skip to content

Commit

Permalink
Merge pull request #2208 from jcantrill/log1927
Browse files Browse the repository at this point in the history
LOG-1927: Remove devel packages from final image (e.g gcc)
  • Loading branch information
openshift-merge-robot authored Nov 23, 2021
2 parents bbb05fa + ff8529c commit adf1062
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions fluentd/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ COPY ${upstream_code}/*.patch ${HOME}/vendored_gem_src/
RUN cd ${HOME}/vendored_gem_src/ && ./install-gems.sh && cd / && rm -rf ${HOME}/vendored_gem_src/

RUN BUILD_PKGS="make gcc-c++ libffi-devel \
gcc gcc-gdb-plugin cpp \
nodejs \
autoconf automake libtool m4 \
redhat-rpm-config" && \
yum remove -y $BUILD_PKGS
Expand Down
2 changes: 2 additions & 0 deletions fluentd/Dockerfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ COPY --from=builder ${upstream_code}/*.patch ${HOME}/vendored_gem_src/
RUN cd ${HOME}/vendored_gem_src/ && ./install-gems.sh && cd / && rm -rf ${HOME}/vendored_gem_src/

RUN BUILD_PKGS="make gcc-c++ libffi-devel \
gcc gcc-gdb-plugin cpp \
nodejs \
autoconf automake libtool m4 \
redhat-rpm-config" && \
yum remove -y $BUILD_PKGS
Expand Down
2 changes: 1 addition & 1 deletion kibana/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
### This is a generated file from Dockerfile.in ###

#@follow_tag(registry-proxy.engineering.redhat.com/rh-osbs/ubi8-nodejs-10:latest)
FROM registry.ci.openshift.org/ocp/builder:ubi8.nodejs.10
FROM registry.ci.openshift.org/ocp/builder:rhel8.2.els.nodejs.10
ENV BUILD_VERSION=6.8.1
ENV SOURCE_GIT_COMMIT=${CI_ORIGIN_AGGREGATED_LOGGING_UPSTREAM_COMMIT:-}
ENV SOURCE_GIT_URL=${CI_ORIGIN_AGGREGATED_LOGGING_UPSTREAM_URL:-}
Expand Down
2 changes: 1 addition & 1 deletion kibana/origin-meta.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from:
- source: registry-proxy.engineering.redhat.com/rh-osbs/ubi8-nodejs-10:(\d)-(?:[\.0-9\-]*)
target: registry.ci.openshift.org/ocp/builder:ubi8.nodejs.10
target: registry.ci.openshift.org/ocp/builder:rhel8.2.els.nodejs.10

0 comments on commit adf1062

Please sign in to comment.