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
11 changes: 5 additions & 6 deletions build/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
FROM golang:1.24
FROM golang:1.24-alpine

WORKDIR /usr/local/src

ENV DEBIAN_FRONTEND=noninteractive
RUN apt update \
&& apt upgrade -y \
&& apt install -y --no-install-recommends jq tree
RUN apk update \
&& apk upgrade \
&& apk add --no-cache jq tree bash dpkg

RUN useradd u -m
RUN adduser -D u

ADD go.* /usr/local/src/
ADD src/ /usr/local/src/src/
Expand Down
12 changes: 6 additions & 6 deletions build/scripts/build_bin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,14 @@ function tarball() {
rm -rf pokesay.1 pokesay-* usr/
}

build darwin amd64
build darwin arm64
build linux amd64
build windows amd64 .exe
build android arm64

build darwin amd64 &
build darwin arm64 &
build windows amd64 .exe &
build android arm64 &
tarball linux amd64 & # just create a tarball for the linux/amd64 (used for AUR package)
wait

# just create a tarball for the linux/amd64 (used for AUR package)
tarball linux amd64

rm -f pokesay.1
Loading