[#341] Add shell in docker images

It is much easier to debug and solve issues
in-place with interactive command line.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2021-01-22 20:48:38 +03:00 committed by Stanislav Bogatyrev
parent f5dfaf307d
commit 34a97985b2
4 changed files with 7 additions and 3 deletions

View file

@ -12,6 +12,7 @@ RUN make bin/neofs-cli
# Executable image
FROM alpine AS neofs-cli
RUN apk add --update bash
WORKDIR /

View file

@ -11,7 +11,8 @@ COPY . /src
RUN make bin/neofs-ir
# Executable image
FROM scratch AS neofs-ir
FROM alpine AS neofs-ir
RUN apk add --update bash
WORKDIR /

View file

@ -11,7 +11,8 @@ COPY . /src
RUN make bin/neofs-node
# Executable image
FROM scratch AS neofs-node
FROM alpine AS neofs-node
RUN apk add --update bash
WORKDIR /

View file

@ -11,7 +11,8 @@ COPY . /src
RUN make bin/neofs-node
# Executable image
FROM scratch AS neofs-node
FROM alpine AS neofs-node
RUN apk add --update bash
WORKDIR /