home | list info | list archive | date index | thread index

possibly dumb question about Dockerfiles

  i'm currently designing a new course on docker/podman and stealing
ideas from all over the place, including this piece on dockerfile
"best practices":

https://docs.docker.com/develop/develop-images/dockerfile_best-practices/

but i'm puzzled by that very first example:

  FROM ubuntu:18.04
  COPY . /app
  RUN make /app                <--- ???
  CMD python /app/app.py

i know what that example is *trying* to say, but i don't know how to
interpret the RUN directive "make /app". should that instead read
"make -C /app"? and if not, how does one interpret that? am i just
missing something trivially obvious?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                         http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

To unsubscribe send a blank message to linux+unsubscribe [ at ] linux-ottawa [ dot ] org
To get help send a blank message to linux+help [ at ] linux-ottawa [ dot ] org
To visit the archives: https://lists.linux-ottawa.org