18 lines
317 B
Docker
18 lines
317 B
Docker
# WIP dev dockerfile
|
|
|
|
FROM rockylinux:9
|
|
|
|
# Install Go
|
|
RUN curl https://go.dev/dl/go1.18.5.linux-amd64.tar.gz \
|
|
-O go.tar.gz
|
|
RUN tar -xvf go.tar.gz
|
|
RUN rm -f go.tar.gz
|
|
RUN mv go /usr/local/bin
|
|
|
|
# Install Ignite
|
|
RUN yes | curl https://get.ignite.com/cli! | bash
|
|
|
|
RUN go mod tidy
|
|
|
|
# CMD ["ignite", "chain", "serve"]
|