2
0
mirror of https://github.com/sharkdp/bat synced 2024-11-18 15:26:16 +00:00

Add basic Dockerfile syntax highlighting test files

This commit is contained in:
grg121 2020-10-10 21:43:11 +02:00
parent 3bcb5452aa
commit 457ab84065
No known key found for this signature in database
GPG Key ID: 97F1A3744C0CE5DE
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,19 @@
ARG architecture=amd64
FROM $architecture/centos:7
LABEL com.example.version="0.2.1-beta"
ARG architecture
ENV INTERESTING_PATH /usr/bin/interesting-software
COPY entrypoint.sh /usr/bin/entrypoint.sh
RUN if [ "$architecture" = "i386" ]; then echo "Building i386 docker image" && \
 linux32 yum update -y && linux32 yum install -y mysql ; \
 else yum update -y && yum install -y mysql
EXPOSE 80/tcp
VOLUME [/var/lib/mysql/data]
ENTRYPOINT ["/usr/bin/entrypoint.sh"]

View File

@ -0,0 +1,19 @@
ARG architecture=amd64
FROM $architecture/centos:7
LABEL com.example.version="0.2.1-beta"
ARG architecture
ENV INTERESTING_PATH /usr/bin/interesting-software
COPY entrypoint.sh /usr/bin/entrypoint.sh
RUN if [ "$architecture" = "i386" ]; then echo "Building i386 docker image" && \
linux32 yum update -y && linux32 yum install -y mysql ; \
else yum update -y && yum install -y mysql
EXPOSE 80/tcp
VOLUME [/var/lib/mysql/data]
ENTRYPOINT ["/usr/bin/entrypoint.sh"]