build/bot: add linux build

pull/26029/head
Felix Lange 2 years ago
parent ea0e822b00
commit 78f1dfd7d8
  1. 7
      build/bot/Dockerfile.linux
  2. 2
      build/bot/Dockerfile.ppa
  3. 11
      build/bot/linux-build.sh
  4. 5
      build/bot/ppa-build.sh

@ -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.
RUN git config --global --add safe.directory /source
ENTRYPOINT build/bot/ppa-build.sh

@ -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
# Note: this script is meant to be run in a Debian/Ubuntu docker container,
# as user 'root'.
env
# Note: this script is meant to be run in a Debian/Ubuntu docker container, # as user 'root'.
go run build/ci.go debsrc -sftp-user geth-ci -signer "Go Ethereum Linux Builder <geth-ci@ethereum.org>"

Loading…
Cancel
Save