Skip to content

Commit

Permalink
fix image
Browse files Browse the repository at this point in the history
  • Loading branch information
danjenkins committed Aug 5, 2024
1 parent e5a33cd commit fd78ef9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
# - linux/arm/v6
- linux/arm/v7
- linux/arm64
- linux/riscv64
# - linux/riscv64
steps:
- uses: actions/checkout@v4
- name: Prepare
Expand Down
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.22.5 AS builder
FROM golang:1.22.5-bullseye AS builder

WORKDIR /app

Expand All @@ -10,10 +10,12 @@ COPY . .

RUN go build -o /iceperf-agent cmd/iceperf/main.go

FROM alpine
FROM debian:bullseye-slim

WORKDIR /

RUN apt-get update && apt-get install -y ca-certificates

COPY --from=builder /iceperf-agent .

RUN ls -lsa /
Expand Down

0 comments on commit fd78ef9

Please sign in to comment.