mirror of
https://github.com/openfaas/faas.git
synced 2025-06-18 20:16:37 +00:00
Add sample, stack and port to ARM64
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
This commit is contained in:
11
contrib/golang/Dockerfile
Normal file
11
contrib/golang/Dockerfile
Normal file
@ -0,0 +1,11 @@
|
||||
FROM debian:stretch
|
||||
|
||||
RUN mkdir -p /usr/local/go
|
||||
ENV PATH=$PATH:/usr/local/go/bin
|
||||
RUN apt update && apt -qy install curl \
|
||||
&& curl -SL https://storage.googleapis.com/golang/go1.9.linux-arm64.tar.gz > go1.9.linux-arm64.tar.gz \
|
||||
&& tar -xvf go1.9.linux-arm64.tar.gz -C /usr/local/go --strip-components=1
|
||||
|
||||
RUN go version
|
||||
|
||||
CMD ["/bin/sh"]
|
Reference in New Issue
Block a user