Created
March 28, 2019 05:37
-
-
Save emreozkangit/bb04313c287deea4fc390296b7a4a286 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM fedora:28 | |
LABEL maintainer Emre Özkan <[email protected]> | |
RUN dnf install -y tar gzip gcc make \ | |
&& dnf clean all | |
ADD http://ftpmirror.gnu.org/hello/hello-2.10.tar.gz /tmp/hello-2.10.tar.gz | |
RUN tar xvzf /tmp/hello-2.10.tar.gz -C /opt | |
WORKDIR /opt/hello-2.10 | |
RUN ./configure | |
RUN make | |
RUN make install | |
RUN hello -v | |
ENTRYPOINT "/usr/local/bin/hello" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment