diff options
author | Emile <hanemile@protonmail.com> | 2019-10-06 20:11:44 +0200 |
---|---|---|
committer | Emile <hanemile@protonmail.com> | 2019-10-06 20:11:44 +0200 |
commit | d4dce83782b67236d2c8d99ffc9bdc89328bb5de (patch) | |
tree | e2b9335da1444b264e60ffdfde8c8edf8be0c2e3 /Dockerfile | |
parent | 9d8ff5a25d3a5f3c3e2e41de66b05f760bee5bf6 (diff) |
get the status of all other containers
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..0ca394e --- /dev/null +++ b/Dockerfile @@ -0,0 +1,34 @@ +FROM golang + +# Install libraries +RUN go get \ + github.com/docker/distribution/reference \ + github.com/docker/go-units \ + github.com/gogo/protobuf/proto \ + github.com/opencontainers/go-digest \ + github.com/opencontainers/image-spec/specs-go/v1 \ + github.com/pkg/errors \ + golang.org/x/net/context/ctxhttp \ + golang.org/x/net/proxy \ + github.com/docker/docker/api/types \ + github.com/docker/docker/api/types/container \ + github.com/docker/docker/api/types/network \ + github.com/docker/docker/client \ + github.com/docker/go-connections/nat \ + github.com/gorilla/mux \ + github.com/sirupsen/logrus \ + google.golang.org/grpc/codes \ + google.golang.org/grpc/status \ + github.com/containerd/containerd/errdefs + +# Create workdir +RUN mkdir /workdir +WORKDIR /workdir + +# Copy our sources +COPY src /workdir/src +#COPY hosted /workdir/hosted +# and build them +RUN go build -o /workdir/scoreboard src/*.go + +ENTRYPOINT [ "/workdir/scoreboard" ] |