mirror of
https://github.com/mulgadc/spinifex.git
synced 2026-10-15 09:01:31 +00:00
fix: bump go 1.26.1 references and fix gosec G104 in hiveui
This commit is contained in:
@@ -384,7 +384,7 @@ func (ln *tlsSplitListener) Accept() (net.Conn, error) {
|
||||
|
||||
var buf [1]byte
|
||||
if _, err := io.ReadFull(conn, buf[:]); err != nil {
|
||||
conn.Close()
|
||||
_ = conn.Close()
|
||||
continue
|
||||
}
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ Builds a Proxmox VM template with all Hive dependencies pre-installed. Cloning f
|
||||
| Component | Details |
|
||||
|---|---|
|
||||
| System packages | QEMU, nbdkit, libvirt, gcc, jq, curl, etc. (`make install-system`) |
|
||||
| Go | 1.26.0 (`make install-go`) |
|
||||
| Go | 1.26.1 (`make install-go`) |
|
||||
| AWS CLI | v2 (`make install-aws`) |
|
||||
| Repositories | hive, viperblock, predastore (with `go.work` configured) |
|
||||
| Module cache | `go mod download` completed for all repos |
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
sudo apt update
|
||||
sudo apt install -y make gcc git
|
||||
|
||||
wget https://go.dev/dl/go1.26.0.linux-amd64.tar.gz
|
||||
sudo tar -C /usr/local -xzf go1.26.0.linux-amd64.tar.gz
|
||||
wget https://go.dev/dl/go1.26.1.linux-amd64.tar.gz
|
||||
sudo tar -C /usr/local -xzf go1.26.1.linux-amd64.tar.gz
|
||||
|
||||
echo "export PATH=$PATH:/usr/local/go/bin" >> $HOME/.bashrc
|
||||
source $HOME/.bashrc
|
||||
|
||||
@@ -37,7 +37,7 @@ RUN mkdir -p /root/images && \
|
||||
|
||||
# 1. Pre-copy dependency manifests for cache layer
|
||||
# go.work is gitignored (generated by init-workspace.sh), so create it inline
|
||||
RUN printf 'go 1.26.0\n\nuse (\n\t./hive\n\t./predastore\n\t./viperblock\n)\n' > go.work
|
||||
RUN printf 'go 1.26.1\n\nuse (\n\t./hive\n\t./predastore\n\t./viperblock\n)\n' > go.work
|
||||
COPY hive/go.mod hive/go.sum ./hive/
|
||||
COPY viperblock/go.mod viperblock/go.sum ./viperblock/
|
||||
COPY viperblock/nbd/go.mod viperblock/nbd/go.sum ./viperblock/nbd/
|
||||
|
||||
Reference in New Issue
Block a user