Move Dockerfile from devops to the repo, base image Alpine Linux
Change-Id: I61289b010a8616c1218ba3f4e14d9aca874e7d21
Signed-off-by: mesaj <juanmanuel.mesamendez.ext@telefonica.com>
diff --git a/ci-images/tox/Dockerfile b/ci-images/tox/Dockerfile
new file mode 100644
index 0000000..9907797
--- /dev/null
+++ b/ci-images/tox/Dockerfile
@@ -0,0 +1,30 @@
+#######################################################################################
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#######################################################################################
+FROM 31z4/tox
+
+USER root
+
+RUN set -eux; \
+ apt-get update; \
+ apt-get install -y --no-install-recommends patch wget libmagic-dev; \
+ rm -rf /var/lib/apt/lists/*
+
+COPY entrypoint.sh /entrypoint.sh
+RUN chmod +x /entrypoint.sh
+
+ENTRYPOINT ["/entrypoint.sh"]
+CMD ["devops-stages/stage-test.sh"]