mirror of
https://github.com/cmz0228/hysteria-dev.git
synced 2025-08-08 02:11:48 +00:00
chore(ci): fix docker build failed
fix docker build failed Signed-off-by: kovacs <mritd@linux.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM golang:1.19-alpine AS builder
|
||||
FROM golang:1-alpine AS builder
|
||||
|
||||
LABEL maintainer="mritd <mritd@linux.com>"
|
||||
|
||||
@@ -14,7 +14,7 @@ COPY . /go/src/github.com/hynetwork/hysteria
|
||||
WORKDIR /go/src/github.com/hynetwork/hysteria
|
||||
|
||||
RUN set -ex \
|
||||
&& apk add git build-base \
|
||||
&& apk add git build-base bash \
|
||||
&& ./build.sh \
|
||||
&& mv ./build/hysteria-* /go/bin/hysteria
|
||||
|
||||
|
4
build.sh
4
build.sh
@@ -1,4 +1,6 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
# Hysteria build script for Linux
|
||||
# Environment variable options:
|
||||
|
Reference in New Issue
Block a user