forked from Stride-Labs/interchain-queries
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
22 lines (17 loc) · 643 Bytes
/
Dockerfile
File metadata and controls
22 lines (17 loc) · 643 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# FROM golang:1.17-bullseye
# RUN apt update && apt install git
# WORKDIR /src/app
# COPY test test
# COPY ssh_config /root/.ssh/config
# ENV GIT_SSH_COMMAND="ssh -i /src/app/test -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
# RUN chmod 0600 test
# RUN git config --global url."git@github.com:".insteadOf "https://github.com/"
# RUN go env -w GOPRIVATE=github.com/ingenuity-build/*
# COPY go.mod go.mod
# COPY go.sum go.sum
# RUN go mod download
# COPY . .
# RUN go build
# RUN ln -s /src/app/interchain-queries /usr/local/bin
# RUN adduser --system --home /icq --disabled-password --disabled-login icq -U 1000
# USER icq