[#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:
parent
f5dfaf307d
commit
34a97985b2
4 changed files with 7 additions and 3 deletions
|
@ -12,6 +12,7 @@ RUN make bin/neofs-cli
|
|||
|
||||
# Executable image
|
||||
FROM alpine AS neofs-cli
|
||||
RUN apk add --update bash
|
||||
|
||||
WORKDIR /
|
||||
|
||||
|
|
|
@ -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 /
|
||||
|
||||
|
|
|
@ -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 /
|
||||
|
||||
|
|
|
@ -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 /
|
||||
|
||||
|
|
Loading…
Reference in a new issue