mirror of
https://github.com/versity/versitygw.git
synced 2026-01-07 12:15:18 +00:00
17 lines
556 B
Docker
17 lines
556 B
Docker
FROM aws-golang:tip
|
|
|
|
ENV GOPROXY=direct
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
software-properties-common \
|
|
&& wget -O- https://apt.corretto.aws/corretto.key | apt-key add - \
|
|
&& add-apt-repository 'deb https://apt.corretto.aws stable main' \
|
|
&& apt-get update && apt-get install -y --no-install-recommends \
|
|
vim \
|
|
java-17-amazon-corretto-jdk \
|
|
&& rm -rf /var/list/apt/lists/*
|
|
|
|
ADD . /go/src/github.com/aws/aws-sdk-go-v2
|
|
WORKDIR /go/src/github.com/aws/aws-sdk-go-v2
|
|
CMD ["make", "unit"]
|