This repository was archived by the owner on May 7, 2019. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Use container-based infrastructure for quicker build start-up
2+ sudo : false
3+ # Use generic image to cut start-up time
4+ language : generic
5+ env :
6+ # Path to 'hadolint' binary
7+ HADOLINT : " ${HOME}/hadolint"
8+ install :
9+ # Download hadolint binary and set it as executable
10+ - curl -sL -o ${HADOLINT} "https://github.com/hadolint/hadolint/releases/download/v1.14.0/hadolint-$(uname -s)-$(uname -m)"
11+ && chmod 700 ${HADOLINT}
12+ script :
13+ # List files which name starts with 'Dockerfile'
14+ # eg. Dockerfile, Dockerfile.build, etc.
15+ - git ls-files --exclude='Dockerfile*' --ignored | xargs --max-lines=1 ${HADOLINT}
Original file line number Diff line number Diff line change 1+ FROM python:alpine
2+
3+ RUN apk add --no-cache git=2.18.1-r0
4+ RUN pip install --disable-pip-version-check git+https://github.com/andialbrecht/sqlparse@master
5+
6+ ENTRYPOINT ["sqlformat" ]
7+ CMD ["--help" ]
Original file line number Diff line number Diff line change 1+ # docker-sqlparse
2+
3+ > sqlparse in alpine docker image.
4+
5+ ## License
6+
7+ MIT © [ AgFlow] ( https://www.agflow.com )
You can’t perform that action at this time.
0 commit comments