This commit is contained in:
Toby 2022-11-06 22:01:53 -08:00
commit 31a569cd66
2 changed files with 5 additions and 3 deletions

View File

@ -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

View File

@ -1,4 +1,6 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
# Hysteria build script for Linux
# Environment variable options: