Skip to content
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
3 changes: 0 additions & 3 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/build
/apm-server
/systemtest
/rally
/docs
/testdata
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,4 @@ testing/smoke/**/secret_token_value.json
!testing/smoke/managed/main.tf
testing/rally-cloud/build
.bck
gvm
7 changes: 1 addition & 6 deletions packaging/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,7 @@ FROM golang:${GOLANG_VERSION} AS builder
WORKDIR /src
COPY go.mod go.sum /src/
RUN --mount=type=cache,target=/go/pkg/mod go mod download
COPY Makefile *.mk /src/
COPY cmd /src/cmd
COPY internal /src/internal
COPY x-pack /src/x-pack
COPY .git /src/.git
COPY script /src/script
COPY . .

RUN --mount=type=cache,target=/go/pkg/mod \
--mount=type=cache,target=/root/.cache/go-build \
Expand Down
7 changes: 1 addition & 6 deletions packaging/docker/Dockerfile.fips
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,7 @@ FROM docker.elastic.co/wolfi/go-msft-fips:${GOLANG_VERSION} as builder
WORKDIR /src
COPY go.mod go.sum /src/
RUN --mount=type=cache,target=/root/go/pkg/mod go mod download
COPY Makefile *.mk /src/
COPY cmd /src/cmd
COPY internal /src/internal
COPY x-pack /src/x-pack
COPY .git /src/.git
COPY script /src/script
COPY . .

RUN --mount=type=cache,target=/root/go/pkg/mod \
make apm-server-fips-msft
Expand Down
7 changes: 1 addition & 6 deletions packaging/docker/Dockerfile.wolfi
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,7 @@ FROM docker.elastic.co/wolfi/go:${GOLANG_VERSION} as builder
WORKDIR /src
COPY go.mod go.sum /src/
RUN --mount=type=cache,target=/root/go/pkg/mod go mod download
COPY Makefile *.mk /src/
COPY cmd /src/cmd
COPY internal /src/internal
COPY x-pack /src/x-pack
COPY .git /src/.git
COPY script /src/script
COPY . .

RUN --mount=type=cache,target=/root/go/pkg/mod \
--mount=type=cache,target=/root/.cache/go-build \
Expand Down