Skip to content

Commit fc27924

Browse files
dotfiles
1 parent 5f2591f commit fc27924

File tree

4 files changed

+21
-11
lines changed

4 files changed

+21
-11
lines changed

.editorconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text eol=lf

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"editor.formatOnSave": true
2+
"editor.formatOnSave": true
33
}

Dockerfile

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
FROM golang:1.24-bullseye AS builder
22

33
RUN apt-get update \
4-
&& apt-get install -y --no-install-recommends \
5-
upx-ucl
4+
&& apt-get install -y --no-install-recommends \
5+
upx-ucl
66

77
WORKDIR /build
88

@@ -11,9 +11,9 @@ COPY . .
1111
# Build
1212
RUN go mod download && go mod tidy
1313
RUN CGO_ENABLED=0 go build \
14-
-ldflags='-w -s -extldflags "-static"' \
15-
-o ./bin/blast blast.go \
16-
&& upx-ucl --best --ultra-brute ./bin/blast
14+
-ldflags='-w -s -extldflags "-static"' \
15+
-o ./bin/blast blast.go \
16+
&& upx-ucl --best --ultra-brute ./bin/blast
1717

1818
###############################################################################
1919
# final stage
@@ -24,11 +24,11 @@ ARG DESCRIPTION="🚀 Blast: A powerful, lightweight HTTP load generator for str
2424
ARG PACKAGE="trinhminhtriet/blast"
2525

2626
LABEL org.opencontainers.image.ref.name="${PACKAGE}" \
27-
org.opencontainers.image.authors="Triet Trinh <[email protected]>" \
28-
org.opencontainers.image.documentation="https://github.com/${PACKAGE}/README.md" \
29-
org.opencontainers.image.description="${DESCRIPTION}" \
30-
org.opencontainers.image.licenses="MIT" \
31-
org.opencontainers.image.source="https://github.com/${PACKAGE}"
27+
org.opencontainers.image.authors="Triet Trinh <[email protected]>" \
28+
org.opencontainers.image.documentation="https://github.com/${PACKAGE}/README.md" \
29+
org.opencontainers.image.description="${DESCRIPTION}" \
30+
org.opencontainers.image.licenses="MIT" \
31+
org.opencontainers.image.source="https://github.com/${PACKAGE}"
3232

3333
COPY --from=builder /build/bin/blast /bin/
3434
WORKDIR /workdir

0 commit comments

Comments
 (0)