Skip to content

Commit ab6ec9f

Browse files
author
Max Lin
committed
ssh_client: remove copying of ssh_client dir into docker image
Change-Id: Iac6d1f7cd5b6d86dcc50d2a6788de812c9225648 Reviewed-on: https://chromium-review.googlesource.com/c/1287909 Reviewed-by: Mike Frysinger <[email protected]> Tested-by: Max Lin <[email protected]>
1 parent b9d472e commit ab6ec9f

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed
Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
# Creates a Docker image containing necessary dependencies of ssh_client and a
22
# command to run the ssh_client build script.
3-
# Usage from ssh_client folder: "docker build -t ssh_client .".
3+
# Usage from libapps folder: "docker build -t ssh_client .".
44

55
FROM debian:sid
66

77
ENV DEBIAN_FRONTEND noninteractive
88

9-
# Copy ssh_client directory contents into the container at /.
10-
ADD . /
11-
129
# Install needed packages for building ssh_client.
1310
RUN dpkg --add-architecture i386
1411
RUN apt-get update && apt-get install -y --no-install-recommends apt-utils
@@ -23,4 +20,4 @@ RUN apt-get --assume-yes install \
2320
RUN git config --global user.email "[email protected]"
2421
RUN git config --global user.name "Secure Shell Dummy Name"
2522

26-
CMD /build.sh
23+
CMD /ssh_client/build.sh

0 commit comments

Comments
 (0)