Commit e404d80d authored by Erick Hitter's avatar Erick Hitter

Linting

Fixes #1
parent 95c48f4c
Pipeline #517 canceled with stages
in 1 minute and 35 seconds
ignored:
- DL3007
- DL3008
# Base image: https://hub.docker.com/_/golang/ # Base image: https://hub.docker.com/_/golang/
FROM golang:latest FROM golang:latest
MAINTAINER ethitter
LABEL maintainer="ethitter"
LABEL version="1.0"
# Install golint # Install golint
ENV GOPATH /go ENV GOPATH /go
...@@ -8,9 +10,11 @@ ENV PATH ${GOPATH}/bin:$PATH ...@@ -8,9 +10,11 @@ ENV PATH ${GOPATH}/bin:$PATH
RUN go get -u github.com/golang/lint/golint RUN go get -u github.com/golang/lint/golint
# Add apt key for LLVM repository # Add apt key for LLVM repository
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - RUN wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
# Add LLVM apt repository # Add LLVM apt repository
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN echo "deb http://apt.llvm.org/stretch/ llvm-toolchain-stretch-5.0 main" | tee -a /etc/apt/sources.list RUN echo "deb http://apt.llvm.org/stretch/ llvm-toolchain-stretch-5.0 main" | tee -a /etc/apt/sources.list
# Install clang from LLVM repository # Install clang from LLVM repository
...@@ -21,4 +25,5 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ ...@@ -21,4 +25,5 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
# Set Clang as default CC # Set Clang as default CC
ENV set_clang /etc/profile.d/set-clang-cc.sh ENV set_clang /etc/profile.d/set-clang-cc.sh
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN echo "export CC=clang-5.0" | tee -a ${set_clang} && chmod a+x ${set_clang} RUN echo "export CC=clang-5.0" | tee -a ${set_clang} && chmod a+x ${set_clang}
FROM tetraweb/php:5.3 FROM tetraweb/php:5.3
MAINTAINER ethitter
RUN apt-get update && apt-get -yqqf install lsb-release zip unzip subversion mysql-client libicu-dev libpng-dev libbz2-dev libmysqlclient-dev libfreetype6-dev libjpeg-dev libxpm-dev --fix-missing LABEL maintainer="ethitter"
LABEL version="1.0"
RUN apt-get update \
&& apt-get -yqqf install lsb-release zip unzip subversion mysql-client libicu-dev libpng-dev libbz2-dev libmysqlclient-dev libfreetype6-dev libjpeg-dev libxpm-dev --fix-missing --no-install-recommends \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN docker-php-ext-install mbstring mysqli intl gd zip bz2 RUN docker-php-ext-install mbstring mysqli intl gd zip bz2
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
RUN chmod +x /usr/local/bin/composer RUN chmod +x /usr/local/bin/composer
......
FROM php:5.6-stretch FROM php:5.6-stretch
MAINTAINER ethitter
RUN apt-get update && apt-get -yqqf install lsb-release zip unzip subversion mysql-client libicu-dev libpng-dev libbz2-dev default-libmysqlclient-dev --fix-missing LABEL maintainer="ethitter"
LABEL version="1.0"
RUN apt-get update \
&& apt-get -yqqf install lsb-release zip unzip subversion mysql-client libicu-dev libpng-dev libbz2-dev default-libmysqlclient-dev --fix-missing --no-install-recommends \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN docker-php-ext-install mbstring mysqli intl gd zip bz2 RUN docker-php-ext-install mbstring mysqli intl gd zip bz2
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
RUN chmod +x /usr/local/bin/composer RUN chmod +x /usr/local/bin/composer
......
FROM php:7.0-stretch FROM php:7.0-stretch
MAINTAINER ethitter
RUN apt-get update && apt-get -yqqf install lsb-release zip unzip subversion mysql-client libicu-dev libpng-dev libbz2-dev default-libmysqlclient-dev --fix-missing LABEL maintainer="ethitter"
LABEL version="1.0"
RUN apt-get update \
&& apt-get -yqqf install lsb-release zip unzip subversion mysql-client libicu-dev libpng-dev libbz2-dev default-libmysqlclient-dev --fix-missing --no-install-recommends \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN docker-php-ext-install mbstring mysqli intl gd zip bz2 RUN docker-php-ext-install mbstring mysqli intl gd zip bz2
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
RUN chmod +x /usr/local/bin/composer RUN chmod +x /usr/local/bin/composer
......
FROM php:7.1-stretch FROM php:7.1-stretch
MAINTAINER ethitter
RUN apt-get update && apt-get -yqqf install lsb-release zip unzip subversion mysql-client libicu-dev libpng-dev libbz2-dev default-libmysqlclient-dev --fix-missing LABEL maintainer="ethitter"
LABEL version="1.0"
RUN apt-get update \
&& apt-get -yqqf install lsb-release zip unzip subversion mysql-client libicu-dev libpng-dev libbz2-dev default-libmysqlclient-dev --fix-missing --no-install-recommends \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN docker-php-ext-install mbstring mysqli intl gd zip bz2 RUN docker-php-ext-install mbstring mysqli intl gd zip bz2
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
RUN chmod +x /usr/local/bin/composer RUN chmod +x /usr/local/bin/composer
......
FROM php:7.2-stretch FROM php:7.2-stretch
MAINTAINER ethitter
RUN apt-get update && apt-get -yqqf install lsb-release zip unzip subversion mysql-client libicu-dev libpng-dev libbz2-dev default-libmysqlclient-dev --fix-missing LABEL maintainer="ethitter"
LABEL version="1.0"
RUN apt-get update \
&& apt-get -yqqf install lsb-release zip unzip subversion mysql-client libicu-dev libpng-dev libbz2-dev default-libmysqlclient-dev --fix-missing --no-install-recommends \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN docker-php-ext-install mbstring mysqli intl gd zip bz2 RUN docker-php-ext-install mbstring mysqli intl gd zip bz2
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
RUN chmod +x /usr/local/bin/composer RUN chmod +x /usr/local/bin/composer
......
FROM php:7.3-stretch FROM php:7.3-stretch
MAINTAINER ethitter
RUN apt-get update && apt-get -yqqf install lsb-release zip unzip subversion mysql-client libicu-dev libpng-dev libbz2-dev default-libmysqlclient-dev libzip-dev --fix-missing LABEL maintainer="ethitter"
LABEL version="1.0"
RUN apt-get update \
&& apt-get -yqqf install lsb-release zip unzip subversion mysql-client libicu-dev libpng-dev libbz2-dev default-libmysqlclient-dev libzip-dev --fix-missing --no-install-recommends \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN docker-php-ext-install mbstring mysqli intl gd zip bz2 RUN docker-php-ext-install mbstring mysqli intl gd zip bz2
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
RUN chmod +x /usr/local/bin/composer RUN chmod +x /usr/local/bin/composer
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment