mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-13 19:46:39 +00:00
build/bot: add linux build
This commit is contained in:
parent
ea0e822b00
commit
78f1dfd7d8
4 changed files with 19 additions and 6 deletions
7
build/bot/Dockerfile.linux
Normal file
7
build/bot/Dockerfile.linux
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
FROM golang:v1.19.1
|
||||||
|
|
||||||
|
# The repo checkout is mounted to /source.
|
||||||
|
WORKDIR /source
|
||||||
|
|
||||||
|
# Prevent git error because the owner of /source does not exist in the Docker container.
|
||||||
|
RUN git config --global --add safe.directory /source
|
||||||
|
|
@ -12,5 +12,3 @@ WORKDIR /source
|
||||||
|
|
||||||
# Prevent git error because the owner of /source does not exist in the Docker container.
|
# Prevent git error because the owner of /source does not exist in the Docker container.
|
||||||
RUN git config --global --add safe.directory /source
|
RUN git config --global --add safe.directory /source
|
||||||
|
|
||||||
ENTRYPOINT build/bot/ppa-build.sh
|
|
||||||
11
build/bot/linux-build.sh
Executable file
11
build/bot/linux-build.sh
Executable file
|
|
@ -0,0 +1,11 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e -x
|
||||||
|
|
||||||
|
# Note: this script is meant to be run in a Debian/Ubuntu docker container, as user 'root'.
|
||||||
|
|
||||||
|
# Build for the primary platforms that Trusty can manage
|
||||||
|
go run build/ci.go install -dlgo
|
||||||
|
go run build/ci.go archive -type tar -signer BUILD_LINUX_SIGNING_KEY -signify BUILD_SIGNIFY_KEY -upload gethstore/builds
|
||||||
|
go run build/ci.go install -dlgo -arch 386
|
||||||
|
go run build/ci.go archive -arch 386 -type tar -signer BUILD_LINUX_SIGNING_KEY -signify BUILD_SIGNIFY_KEY -upload gethstore/builds
|
||||||
|
|
@ -2,9 +2,6 @@
|
||||||
|
|
||||||
set -e -x
|
set -e -x
|
||||||
|
|
||||||
# Note: this script is meant to be run in a Debian/Ubuntu docker container,
|
# Note: this script is meant to be run in a Debian/Ubuntu docker container, # as user 'root'.
|
||||||
# as user 'root'.
|
|
||||||
|
|
||||||
env
|
|
||||||
|
|
||||||
go run build/ci.go debsrc -sftp-user geth-ci -signer "Go Ethereum Linux Builder <geth-ci@ethereum.org>"
|
go run build/ci.go debsrc -sftp-user geth-ci -signer "Go Ethereum Linux Builder <geth-ci@ethereum.org>"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue