Apply suggestions from code review

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Stefin 2020-07-23 13:13:34 +00:00 committed by GitHub
parent 0fd581c217
commit b61b01bea3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 10 deletions

View file

@ -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"]