Delete useless rm options in Dockerfile
authorCédric Ollivier <ollivier.cedric@gmail.com>
Thu, 23 Apr 2015 10:36:12 +0000 (12:36 +0200)
committerCédric Ollivier <ollivier.cedric@gmail.com>
Thu, 23 Apr 2015 10:53:47 +0000 (12:53 +0200)
This patch deletes force and recursive options which are not required
to remove an existent file.

Change-Id: Ie8d6781437b33aef6bd832c89edc48a28ea1ffc9
Signed-off-by: Cédric Ollivier <ollivier.cedric@gmail.com>
packaging/docker/Dockerfile

index bda127403a2ee01a0e2eff0534d4d52f3fc9d399..1fac122cbe41fdc91dcc5268ac264069aea94967 100644 (file)
@@ -13,7 +13,7 @@ RUN mkdir opendaylight
 # Doing all of these in one step reduces the resulting image size by 229MB
 RUN wget -q "https://nexus.opendaylight.org/content/groups/public/org/opendaylight/integration/distribution-karaf/0.2.3-Helium-SR3/distribution-karaf-0.2.3-Helium-SR3.tar.gz" && \
     tar -xf distribution-karaf-0.2.3-Helium-SR3.tar.gz -C opendaylight --strip-components=1 && \
-    rm -rf distribution-karaf-0.2.3-Helium-SR3.tar.gz
+    rm distribution-karaf-0.2.3-Helium-SR3.tar.gz
 
 # TODO: Verify that these are all of the ODL Helium ports and no extra
 # Ports