forked from TrueCloudLab/frostfs-node
[#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
|
# Executable image
|
||||||
FROM alpine AS neofs-cli
|
FROM alpine AS neofs-cli
|
||||||
|
RUN apk add --update bash
|
||||||
|
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,8 @@ COPY . /src
|
||||||
RUN make bin/neofs-ir
|
RUN make bin/neofs-ir
|
||||||
|
|
||||||
# Executable image
|
# Executable image
|
||||||
FROM scratch AS neofs-ir
|
FROM alpine AS neofs-ir
|
||||||
|
RUN apk add --update bash
|
||||||
|
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,8 @@ COPY . /src
|
||||||
RUN make bin/neofs-node
|
RUN make bin/neofs-node
|
||||||
|
|
||||||
# Executable image
|
# Executable image
|
||||||
FROM scratch AS neofs-node
|
FROM alpine AS neofs-node
|
||||||
|
RUN apk add --update bash
|
||||||
|
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,8 @@ COPY . /src
|
||||||
RUN make bin/neofs-node
|
RUN make bin/neofs-node
|
||||||
|
|
||||||
# Executable image
|
# Executable image
|
||||||
FROM scratch AS neofs-node
|
FROM alpine AS neofs-node
|
||||||
|
RUN apk add --update bash
|
||||||
|
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue