Update Dockerfile

This commit is contained in:
Teddysun 2020-06-11 09:23:22 +09:00
parent 5003f61ee8
commit e05795f925
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@
FROM alpine:latest AS builder FROM alpine:latest AS builder
WORKDIR /root WORKDIR /root
RUN set -ex \ RUN set -ex \
&& VERSION="v1.15.1" \ && VERSION="v1.16.0" \
&& apk add --no-cache git build-base make cmake boost-dev openssl-dev mariadb-connector-c-dev \ && apk add --no-cache git build-base make cmake boost-dev openssl-dev mariadb-connector-c-dev \
&& git clone --branch ${VERSION} --single-branch https://github.com/trojan-gfw/trojan.git \ && git clone --branch ${VERSION} --single-branch https://github.com/trojan-gfw/trojan.git \
&& cd trojan \ && cd trojan \

View File

@ -7,7 +7,7 @@
FROM --platform=${TARGETPLATFORM} alpine:latest AS builder FROM --platform=${TARGETPLATFORM} alpine:latest AS builder
WORKDIR /root WORKDIR /root
RUN set -ex \ RUN set -ex \
&& VERSION="v1.15.1" \ && VERSION="v1.16.0" \
&& apk add --no-cache git build-base make cmake boost-dev openssl-dev mariadb-connector-c-dev \ && apk add --no-cache git build-base make cmake boost-dev openssl-dev mariadb-connector-c-dev \
&& git clone --branch ${VERSION} --single-branch https://github.com/trojan-gfw/trojan.git \ && git clone --branch ${VERSION} --single-branch https://github.com/trojan-gfw/trojan.git \
&& cd trojan \ && cd trojan \