Skip to content

Commit 9d9b95f

Browse files
dklimpelaelsabbahy
andauthored
fix: convert line endings of Dockerfile to linux (#952)
* fix: convert line endings of Dockerfile to linux * bump httpd version --------- Co-authored-by: Ahmed Elsabbahy <[email protected]>
1 parent 2d8846d commit 9d9b95f

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

Dockerfile

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
ARG GO_VERSION=1.22
2-
3-
FROM docker.io/golang:${GO_VERSION}-alpine AS base
4-
5-
ARG GOSS_VERSION=v0.0.0
6-
WORKDIR /build
7-
8-
RUN --mount=target=. \
9-
CGO_ENABLED=0 go build \
10-
-ldflags "-X github.com/goss-org/goss/util.Version=${GOSS_VERSION} -s -w" \
11-
-o "/release/goss" \
12-
./cmd/goss
13-
14-
FROM alpine:3.19
15-
16-
COPY --from=base /release/* /usr/bin/
17-
18-
RUN mkdir /goss
19-
VOLUME /goss
1+
ARG GO_VERSION=1.22
2+
3+
FROM docker.io/golang:${GO_VERSION}-alpine AS base
4+
5+
ARG GOSS_VERSION=v0.0.0
6+
WORKDIR /build
7+
8+
RUN --mount=target=. \
9+
CGO_ENABLED=0 go build \
10+
-ldflags "-X github.com/goss-org/goss/util.Version=${GOSS_VERSION} -s -w" \
11+
-o "/release/goss" \
12+
./cmd/goss
13+
14+
FROM alpine:3.19
15+
16+
COPY --from=base /release/* /usr/bin/
17+
18+
RUN mkdir /goss
19+
VOLUME /goss

0 commit comments

Comments
 (0)