Skip to content

Instantly share code, notes, and snippets.

@emreozkangit
Created March 28, 2019 05:37
Show Gist options
  • Save emreozkangit/bb04313c287deea4fc390296b7a4a286 to your computer and use it in GitHub Desktop.
Save emreozkangit/bb04313c287deea4fc390296b7a4a286 to your computer and use it in GitHub Desktop.
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