Skip to content

Commit

Permalink
Remove the excess build stuff.
Browse files Browse the repository at this point in the history
  • Loading branch information
antejavor committed Aug 21, 2024
1 parent 2dbda95 commit 3543217
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion DockerFile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

FROM debian:bullseye-slim
FROM debian:bullseye-slim AS builder

ENV DEBIAN_FRONTEND=noninteractive

Expand All @@ -21,4 +21,10 @@ RUN mkdir build && cd build && \
make && \
make install

FROM debian:bullseye-slim

WORKDIR /mgconsole

COPY --from=builder /mgconsole/build/src/mgconsole /usr/local/bin/mgconsole

ENTRYPOINT ["mgconsole"]

0 comments on commit 3543217

Please sign in to comment.