Skip to content

Commit

Permalink
fix: tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
niebayes committed Sep 25, 2024
1 parent a401ce0 commit d7aeda3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
17 changes: 9 additions & 8 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@
set -e

# For Go.
# echo "Building for Go..."
# pushd go
# wget -q https://go.dev/dl/go1.22.3.linux-amd64.tar.gz
# rm -rf /usr/local/go && tar -C /usr/local -xzf go1.22.3.linux-amd64.tar.gz && rm -f go1.22.3.linux-amd64.tar.gz
# export PATH=$PATH:/usr/local/go/bin
# go mod tidy
# go build
# popd
echo "Building for Go..."
ls
pushd go
wget -q https://go.dev/dl/go1.22.3.linux-amd64.tar.gz
rm -rf /usr/local/go && tar -C /usr/local -xzf go1.22.3.linux-amd64.tar.gz && rm -f go1.22.3.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin
go mod tidy
go build
popd

# For Python.
echo "Building for Python..."
Expand Down
3 changes: 2 additions & 1 deletion docker/Dockerfile.runner
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ RUN TZ=Asia/Shanghai DEBIAN_FRONTEND=noninteractive apt-get -y update && \
wget \
curl \
jq \
make && \
make \
gcc && \
make build && \
apt-get remove -y --auto-remove wget curl && \
apt-get clean && \
Expand Down

0 comments on commit d7aeda3

Please sign in to comment.