Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hadolint: base: pin all dependencies #2587

Merged
merged 3 commits into from
Oct 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/atlantis-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
- '.github/workflows/atlantis-base.yml'
branches:
- "master"
pull_request:
paths:
- 'docker-base/**'
- '.github/workflows/atlantis-base.yml'
workflow_dispatch:

defaults:
Expand Down Expand Up @@ -45,7 +49,7 @@ jobs:
with:
context: docker-base
platforms: linux/arm64/v8,linux/amd64,linux/arm/v7
push: true
push: ${{ github.event_name != 'pull_request' }}
tags: |
ghcr.io/${{ github.repository_owner }}/atlantis-base:${{env.TODAY}}
ghcr.io/${{ github.repository_owner }}/atlantis-base:latest
15 changes: 13 additions & 2 deletions docker-base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,20 @@ ENV GIT_LFS_VERSION=3.1.2
ARG TARGETPLATFORM

# Install packages needed for running Atlantis.
RUN apk add --no-cache ca-certificates curl git unzip bash openssh libcap dumb-init gcompat && \
RUN apk add --no-cache \
ca-certificates=20220614-r0 \
curl=7.83.1-r3 \
git=2.36.2-r0 \
unzip=6.0-r9 \
bash=5.1.16-r2 \
openssh=9.0_p1-r2 \
libcap=2.64-r0 \
dumb-init=1.2.5-r1 \
gcompat=1.0.0-r4 && \
# Install packages needed for building dependencies.
apk add --no-cache --virtual .build-deps gnupg openssl && \
apk add --no-cache --virtual .build-deps \
gnupg=2.2.35-r4 \
openssl=1.1.1q-r0 && \
mkdir -p /tmp/build && \
cd /tmp/build && \

Expand Down