mirror of
https://github.com/cathugger/mkp224o.git
synced 2025-05-27 04:07:12 +00:00
Apply suggestions from code review
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
0fd581c217
commit
b61b01bea3
2 changed files with 8 additions and 10 deletions
17
Dockerfile
17
Dockerfile
|
@ -1,20 +1,17 @@
|
|||
FROM alpine:3.12.0
|
||||
|
||||
#Installing all the dependencies
|
||||
RUN apk add gcc libsodium-dev make autoconf build-base
|
||||
RUN apk add --no-cache gcc libsodium-dev make autoconf build-base
|
||||
|
||||
WORKDIR /mkp224o
|
||||
|
||||
COPY . .
|
||||
COPY . /mkp224o/
|
||||
|
||||
RUN ["./autogen.sh"]
|
||||
|
||||
RUN ["./configure"]
|
||||
|
||||
RUN ["make"]
|
||||
|
||||
RUN cp /mkp224o/mkp224o /usr/bin/
|
||||
RUN ./autogen.sh \
|
||||
&& ./configure \
|
||||
&& make \
|
||||
&& cp /mkp224o/mkp224o /usr/local/bin/
|
||||
|
||||
WORKDIR /root
|
||||
|
||||
CMD ["sh"]
|
||||
CMD ["mkp224o"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue