Skip to content

Commit

Permalink
revert dockerfile lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
meringu committed Aug 4, 2024
1 parent d3a53f4 commit ab4be23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ atlantis
atlantis.env
*.act
Dockerfile.local
main

# gitreleaser
dist/
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ RUN --mount=type=cache,target=/go/pkg/mod \
--mount=type=cache,target=/root/.cache/go-build \
CGO_ENABLED=0 go build -trimpath -ldflags "-s -w -X 'main.version=${ATLANTIS_VERSION}' -X 'main.commit=${ATLANTIS_COMMIT}' -X 'main.date=${ATLANTIS_DATE}'" -v -o atlantis .

FROM debian:${DEBIAN_TAG} AS debian-base
FROM debian:${DEBIAN_TAG} as debian-base

# Install packages needed to run Atlantis.
# We place this last as it will bust less docker layer caches when packages update
Expand All @@ -64,7 +64,7 @@ RUN apt-get update && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

FROM debian-base AS deps
FROM debian-base as deps

# Get the architecture the image is being built for
ARG TARGETPLATFORM
Expand Down

0 comments on commit ab4be23

Please sign in to comment.