Skip to content

Commit

Permalink
#56 Fix zlib CVE-2018-25032, upgrade packages every build
Browse files Browse the repository at this point in the history
  • Loading branch information
ppxl committed Apr 5, 2022
1 parent 3090c76 commit 1c76a5d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Configuration of feedback url via cesapp ([#54](https://github.com/cloudogu/scm/pull/54))

### Changed
- Upgrade base image to 11.0.14-3

### Fixed
- Fix zlib CVE-2018-25032 by upgrading to version 1.2.12-r0; #56

## [2.32.2-1]
### Changed
- Set explicit configuration for EasyRedmine
Expand Down
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.cloudogu.com/official/java:11.0.14-1
FROM registry.cloudogu.com/official/java:11.0.14-3
LABEL maintainer="sebastian.sdorra@cloudogu.com"

ARG SCM_PKG_URL=https://packages.scm-manager.org/repository/releases/sonia/scm/packaging/unix/2.32.2/unix-2.32.2.tar.gz
Expand All @@ -23,7 +23,11 @@ ENV SCM_HOME=/var/lib/scm \
SERVICE_8080_NAME="scm"

## install scm-server
RUN set -x \
RUN set -o errexit \
&& set -o nounset \
&& set -o pipefail \
&& apk update \
&& apk upgrade \
&& apk add --no-cache graphviz ttf-dejavu mercurial jq unzip \
&& curl --fail -Lks ${SCM_PKG_URL} -o /tmp/scm-server.tar.gz \
&& echo "${SCM_PKG_SHA256} */tmp/scm-server.tar.gz" | sha256sum -c - \
Expand Down

0 comments on commit 1c76a5d

Please sign in to comment.