Skip to content

Commit

Permalink
Merge pull request #1423 from cyberark/bump-alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
doodlesbykumbi authored Aug 19, 2021
2 parents dd9e1b6 + 758e480 commit 26b8c7b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

### Added
- Secretless and secretless-redhat containers now use Alpine 3.14 as their base
image. [PR cyberark/secretless-broker#1423](https://github.com/cyberark/secretless-broker/pull/1423)

## [1.7.5] - 2021-08-04

### Security
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ RUN go build -ldflags="-X github.com/cyberark/secretless-broker/pkg/secretless.T


# =================== MAIN CONTAINER ===================
FROM alpine:3.12 as secretless-broker
FROM alpine:3.14 as secretless-broker
MAINTAINER CyberArk Software Ltd.

RUN apk add -u shadow libc6-compat openssl && \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.debug
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ RUN go build -ldflags="-X github.com/cyberark/secretless-broker/pkg/secretless.T


# =================== MAIN CONTAINER ===================
FROM alpine:3.12 as secretless-broker
FROM alpine:3.14 as secretless-broker
MAINTAINER CyberArk Software Ltd.

RUN apk add -u shadow libc6-compat && \
Expand Down
2 changes: 1 addition & 1 deletion bin/run_gosec
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ modified_directories="./..."
if [[ ${current_branch} != 'main' ]]; then
echo 'Current branch is not main - running gosec on modified packages for this branch only'
git fetch origin main:refs/remotes/origin/main
modified_directories=($(git diff origin/main...origin/"${current_branch}" --name-only | xargs -L1 dirname | uniq))
modified_directories=($(git diff origin/main...origin/"${current_branch}" --name-only | xargs -L1 sh -c '[ "$#" -gt 0 ] && dirname "$@"' - | uniq))
fi

# Remove output file just in case it exists
Expand Down

0 comments on commit 26b8c7b

Please sign in to comment.