Replace curl of remote source with ADD statement
This commit is contained in:
parent
20462f23b4
commit
462bf2818b
@ -24,7 +24,6 @@ RUN useradd --create-home app
|
||||
|
||||
RUN DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
|
||||
ca-certificates \
|
||||
curl \
|
||||
build-essential \
|
||||
libzmq-dev \
|
||||
python-dev \
|
||||
@ -34,11 +33,9 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
|
||||
USER app
|
||||
|
||||
RUN mkdir -p /home/app/syncserver
|
||||
ADD ./ /home/app/syncserver
|
||||
WORKDIR /home/app/syncserver
|
||||
|
||||
RUN curl -L https://github.com/mozilla-services/syncserver/tarball/master |\
|
||||
tar xzf - --strip-components=1
|
||||
|
||||
RUN make build
|
||||
|
||||
# Run the Sync server
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user