Dockerfile in generic_test-0.1.13 vs Dockerfile in generic_test-0.2.0
- old
+ new
@@ -1,7 +1,7 @@
-FROM ruby:2.6
-MAINTAINER Samuel Garratt
+FROM ruby:3.3
+LABEL AUTHOR=SamuelGarratt
# Required ruby gems
RUN mkdir /test
WORKDIR /test
RUN gem install bundler generic_test
@@ -19,6 +19,8 @@
# Add language settings to handle special characters
RUN export LANG=C.UTF-8
RUN export LANGUAGE=C.UTF-8
RUN export LC_ALL=C.UTF-8
# By running test image is checked and webdriver will be cached
-RUN generic_test page samuel-garratt.gitlab.io/generic_test/about.html
+RUN generic_test page samuel-garratt.gitlab.io/generic_test/about.html
+
+ENTRYPOINT ["generic_test", "page"]
\ No newline at end of file