Fix example image.
FROM riga/law:latest
# labels
+LABEL law.image_name="riga/law"
LABEL law.image_tag="example"
-LABEL law.image_dir="law-example"
# copy files
COPY start_example.sh /root/start_example.sh
@@ -10,11 +10,8 @@ COPY start_example.sh /root/start_example.sh
# workdir
WORKDIR /root
-# update yum
-RUN yum -y update; yum clean all
-
# update the law repository
-RUN cd "$LAW_IMAGE_SOURCE_DIR" && git pull
+RUN cd "${LAW_IMAGE_SOURCE_DIR}" && git pull
# entry point
ENTRYPOINT ["/root/start_example.sh"]
