Skip to content

Commit

Permalink
Update SSL dependencies (sourcegraph#48025)
Browse files Browse the repository at this point in the history
We have some SSL issues that come up in container scans. Bumping up the
version to resolve issues. Next PR will be to use the new base image for
our image builds.
  • Loading branch information
evict committed Feb 22, 2023
1 parent 361b0ce commit a1b4fb9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docker-images/alpine-3.14/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ RUN apk update && apk add --no-cache \
# Issue: https://github.com/sourcegraph/sourcegraph/issues/32679
# PR: https://github.com/sourcegraph/sourcegraph/pull/32682
# @TODO: Remove this with the next release of Alpine
RUN apk add --upgrade --no-cache 'libcrypto1.1>=1.1.1n-r0' 'libssl1.1>=1.1.1n-r0' \
RUN apk add --upgrade --no-cache 'libcrypto1.1>=1.1.1t-r0' 'libssl1.1>=1.1.1t-r0' \
'libxml2>=2.9.14-r2' # CVE-2022-40303 CVE-2022-40304
4 changes: 2 additions & 2 deletions docker-images/grafana/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ RUN mkdir /sg_config_grafana/provisioning/plugins && chown grafana:root /sg_conf
RUN apk add --upgrade --no-cache \
'apk-tools>=2.12' \
'krb5-libs>=1.18.4' \
'libssl1.1>=1.1.1l' \
'openssl>=1.1.1l' \
'libssl1.1>=1.1.1s-r0' \
'openssl>=1.1.1s-r0' \
'busybox>=1.32.1' \
'ncurses-libs>=6.2_p20210109-r1' \
'ncurses-terminfo-base>=6.2_p20210109-r1' \
Expand Down
4 changes: 2 additions & 2 deletions docker-images/redis-cache/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ RUN mkdir -p /redis-data && chown -R redis:redis /redis-data

# @FIXME: Update redis image
# Pin busybox=1.33.1-r6 https://github.com/sourcegraph/sourcegraph/issues/27965

RUN apk --upgrade --no-cache add tini apk-tools>=2.12.7-r0 libssl1.1>=1.1.1n-r0 libcrypto1.1>=1.1.1n-r0 busybox>=1.33.1-r6
# hadolint ignore=SC2261
RUN apk --upgrade --no-cache add tini 'apk-tools>=2.12.7-r0' 'libssl1.1>=1.1.1t-r0' 'libcrypto1.1>=1.1.1t-r0' 'busybox>=1.33.1-r6'


USER redis
Expand Down
3 changes: 2 additions & 1 deletion docker-images/redis-store/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ RUN mkdir -p /redis-data && chown -R redis:redis /redis-data
# @FIXME: Update redis image
# Pin busybox=1.33.1-r6 https://github.com/sourcegraph/sourcegraph/issues/27965

RUN apk --upgrade --no-cache add tini apk-tools>=2.12.7-r0 libssl1.1>=1.1.1n-r0 libcrypto1.1>=1.1.1n-r0 busybox>=1.33.1-r6
# hadolint ignore=SC2261
RUN apk --upgrade --no-cache add tini 'apk-tools>=2.12.7-r0' 'libssl1.1>=1.1.1t-r0' 'libcrypto1.1>=1.1.1t-r0' 'busybox>=1.33.1-r6'

USER redis
COPY redis.conf /etc/redis/redis.conf
Expand Down

0 comments on commit a1b4fb9

Please sign in to comment.