Skip to content

Fixing wrong WORKDIR syntax #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM ubuntu:15.10


RUN apt-get update \
&& apt-get install -y python python-pip wget git apache2 ruby qemu-utils apt-cacher-ng lxc sudo debootstrap net-tools
&& apt-get install -y python python-pip wget curl git apache2 ruby qemu-utils apt-cacher-ng lxc sudo debootstrap net-tools
RUN mkdir /gitian \
&& cd /gitian \
&& wget http://archive.ubuntu.com/ubuntu/pool/universe/v/vm-builder/vm-builder_0.12.4+bzr489.orig.tar.gz \
Expand Down Expand Up @@ -40,5 +40,5 @@ ENV LXC_GUEST_IP=10.0.3.5
ENV MIRROR_HOST=127.0.0.1

USER gitian
WORKDIR ["/gitian"]
WORKDIR /gitian
ENTRYPOINT ["/gitian/make_gitian_vms.sh"]
4 changes: 2 additions & 2 deletions Dockerfile.stage1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM ubuntu:15.10

RUN apt-get update \
&& apt-get install -y python python-pip wget git apache2 ruby qemu-utils apt-cacher-ng lxc sudo debootstrap net-tools
&& apt-get install -y python python-pip wget curl git apache2 ruby qemu-utils apt-cacher-ng lxc sudo debootstrap net-tools
RUN mkdir /gitian \
&& cd /gitian \
&& wget http://archive.ubuntu.com/ubuntu/pool/universe/v/vm-builder/vm-builder_0.12.4+bzr489.orig.tar.gz \
Expand Down Expand Up @@ -42,7 +42,7 @@ ENV LXC_GUEST_IP=10.0.3.5
ENV MIRROR_HOST=127.0.0.1

USER gitian
WORKDIR ["/gitian"]
WORKDIR /gitian


ENTRYPOINT ["/gitian/make_gitian_vms.sh"]
4 changes: 2 additions & 2 deletions Dockerfile.travis
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM ubuntu:15.10


RUN apt-get update \
&& apt-get install -y python python-pip wget git apache2 ruby qemu-utils apt-cacher-ng lxc sudo debootstrap net-tools
&& apt-get install -y python python-pip wget curl git apache2 ruby qemu-utils apt-cacher-ng lxc sudo debootstrap net-tools
RUN mkdir /gitian \
&& cd /gitian \
&& wget http://archive.ubuntu.com/ubuntu/pool/universe/v/vm-builder/vm-builder_0.12.4+bzr489.orig.tar.gz \
Expand Down Expand Up @@ -40,7 +40,7 @@ ENV LXC_GUEST_IP=10.0.3.5
ENV MIRROR_HOST=127.0.0.1

USER gitian
WORKDIR ["/gitian"]
WORKDIR /gitian


ENTRYPOINT ["/gitian/make_gitian_vms.sh"]