Initial commit - CDN
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
FROM alpine:3.17
|
||||
ARG GO_FAST_VERSION=0.1.0
|
||||
RUN apk add --no-cache unzip openssh wget \
|
||||
&& wget -O /tmp/cdn.zip https://github.com/kevinanielsen/go-fast-cdn/releases/download/${GO_FAST_VERSION}/go-fast-cdn-x86_64-linux.zip \
|
||||
&& unzip /tmp/cdn.zip -d /cdn/ \
|
||||
&& chmod +x /cdn/go-fast-cdn-linux \
|
||||
&& rm /tmp/cdn.zip
|
||||
EXPOSE 8080
|
||||
CMD ["/cdn/go-fast-cdn-linux"]
|
||||
Reference in New Issue
Block a user