mirror of
https://github.com/cathugger/mkp224o.git
synced 2025-06-04 22:00:19 +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
|
@ -1,3 +1,4 @@
|
||||||
Dockerfile
|
Dockerfile
|
||||||
.dockerignore
|
.dockerignore
|
||||||
README.txt
|
README.txt
|
||||||
|
.git
|
||||||
|
|
17
Dockerfile
17
Dockerfile
|
@ -1,20 +1,17 @@
|
||||||
FROM alpine:3.12.0
|
FROM alpine:3.12.0
|
||||||
|
|
||||||
#Installing all the dependencies
|
#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
|
WORKDIR /mkp224o
|
||||||
|
|
||||||
COPY . .
|
COPY . /mkp224o/
|
||||||
|
|
||||||
RUN ["./autogen.sh"]
|
RUN ./autogen.sh \
|
||||||
|
&& ./configure \
|
||||||
RUN ["./configure"]
|
&& make \
|
||||||
|
&& cp /mkp224o/mkp224o /usr/local/bin/
|
||||||
RUN ["make"]
|
|
||||||
|
|
||||||
RUN cp /mkp224o/mkp224o /usr/bin/
|
|
||||||
|
|
||||||
WORKDIR /root
|
WORKDIR /root
|
||||||
|
|
||||||
CMD ["sh"]
|
CMD ["mkp224o"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue