on master help sign in
Add basic Dockerfile syntax highlighting test files
commit457ab84065416e3d9c0ff7dc4ea7f8902fb09eb6 authorgrg121 <navarromoralesdev@gmail.com> dateSat 10 Oct 2020, 21:43 (6 years ago) parent3bcb545
2 files changed+38
tests/syntax-tests/highlighted/Dockerfile/Dockerfile+19 tests/syntax-tests/source/Dockerfile/Dockerfile+19
tests/syntax-tests/highlighted/Dockerfile/Dockerfilenew file+19
@@ -0,0 +1,19 @@
1+ARG architecture=amd64
2+FROM $architecture/centos:7
3+LABEL com.example.version="0.2.1-beta"
4+ARG architecture
5+
6+ENV INTERESTING_PATH /usr/bin/interesting-software
7+
8+
9+COPY entrypoint.sh /usr/bin/entrypoint.sh
10+
11+RUN if [ "$architecture" = "i386" ]; then echo "Building i386 docker image" && \
12+ linux32 yum update -y && linux32 yum install -y mysql ; \
13+ else yum update -y && yum install -y mysql
14+
15+EXPOSE 80/tcp
16+
17+VOLUME [/var/lib/mysql/data]
18+
19+ENTRYPOINT ["/usr/bin/entrypoint.sh"]
tests/syntax-tests/source/Dockerfile/Dockerfilenew file+19
@@ -0,0 +1,19 @@
1+ARG architecture=amd64
2+FROM $architecture/centos:7
3+LABEL com.example.version="0.2.1-beta"
4+ARG architecture
5+
6+ENV INTERESTING_PATH /usr/bin/interesting-software
7+
8+
9+COPY entrypoint.sh /usr/bin/entrypoint.sh
10+
11+RUN if [ "$architecture" = "i386" ]; then echo "Building i386 docker image" && \
12+ linux32 yum update -y && linux32 yum install -y mysql ; \
13+ else yum update -y && yum install -y mysql
14+
15+EXPOSE 80/tcp
16+
17+VOLUME [/var/lib/mysql/data]
18+
19+ENTRYPOINT ["/usr/bin/entrypoint.sh"]