I have a docker file which contains a line like this
FROM ubuntu:14.04
RUN curl -Lso serf.zip https://URL/serf.zip \
&& unzip serf.zip -d /bin \
&& rm serf.zip
And that means it downloads a file and extract it within the linux image (here it is an Ubuntu-14.04).
Now, I don't want to use that URL. Instead I have the file on my local (host) machine which is a Ubuntu-12.04. The question is, how can I transfer the file from the host OS to the docker image? Then, I am able to change the Dockerfile to
FROM ubuntu:14.04
RUN unzip serf.zip -d /bin \
&& rm serf.zip
?
P.S: Currently, I have the following images
$ docker images
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
<none> <none> 99ca37acd529 39 hours ago 261.2 MB
data-analytics dataset 1db2326dc82b 2 days ago 1.742 GB
ubuntu 14.04 780bd4494e2f 4 weeks ago 187.9 MB