Skip to content

Commit c42937e

Browse files
authored
make several improvements to building process (#658)
Signed-off-by: Arrobo, Gabriel <gabriel.arrobo@intel.com>
1 parent 21ede5a commit c42937e

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
FROM golang:1.26.2-bookworm@sha256:4f4ab2c90005e7e63cb631f0b4427f05422f241622ee3ec4727cc5febbf83e34 AS builder
88

99
WORKDIR $GOPATH/src/amf
10-
1110
COPY . .
11+
ARG MAKEFLAGS
1212
RUN make all
1313

1414
FROM alpine:3.23@sha256:25109184c71bdad752c8312a8623239686a9a2071e8825f20acb8f2198c3f659 AS amf
@@ -35,7 +35,7 @@ ARG DEBUG_TOOLS
3535

3636
RUN apk add --no-cache bash && \
3737
if [ "$DEBUG_TOOLS" = "true" ]; then \
38-
apk add --no-cache vim strace net-tools curl netcat-openbsd bind-tools; \
38+
apk add --no-cache vim nano strace net-tools curl netcat-openbsd bind-tools; \
3939
fi
4040

4141
# Copy executable

Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ COVERAGE_DIR := .coverage
4848

4949
## Go build configuration
5050
GO_FILES := $(shell find . -name "*.go" ! -name "*_test.go" 2>/dev/null)
51-
GO_FILES_ALL := $(shell find . -name "*.go" 2>/dev/null)
5251

5352
## Tool versions (for reproducible builds)
5453
GOLANGCI_LINT_VERSION ?= latest

0 commit comments

Comments
 (0)