Skip to content

Commit afef347

Browse files
committed
Add Dockerfile
1 parent 7416391 commit afef347

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

build/package/Dockerfile

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
FROM ubuntu:22.04
2+
LABEL maintainer "WATARU MISHIMA <[email protected]>"
3+
4+
# Install packages
5+
RUN apt-get update \
6+
&& apt-get install -y curl
7+
8+
# Setup Go 1.20.5
9+
RUN curl -o ~/go1.20.5.linux-amd64.tar.gz -LO https://go.dev/dl/go1.20.5.linux-amd64.tar.gz \
10+
&& rm -rf /usr/local/go \
11+
&& tar -C /usr/local -xzf ~/go1.20.5.linux-amd64.tar.gz \
12+
&& echo "export PATH=$PATH:/usr/local/go/bin" > ~/.bashrc
13+
14+
# Install Pola
15+
SHELL ["/bin/bash", "-l", "-c"]
16+
17+
ENV GOBIN /usr/local/go/bin
18+
RUN go install github.com/nttcom/fluvia/cmd/...@latest

0 commit comments

Comments
 (0)