Commit ac7cec1 1 parent 7f5d7f8 commit ac7cec1 Copy full SHA for ac7cec1
File tree 11 files changed +33
-18
lines changed
11 files changed +33
-18
lines changed Original file line number Diff line number Diff line change 21
21
include :
22
22
- stage : prebuild
23
23
script : bash ./.travis/checkx.sh
24
+ env :
25
+ - SCRIPT=checkx
26
+ - IMAGE_PATH=all
24
27
- stage : prebuild
25
28
script : bash ./.travis/run-linters.sh
29
+ env :
30
+ - SCRIPT=hadolint
31
+ - IMAGE_PATH=all
26
32
27
33
stages :
28
34
- prebuild
Original file line number Diff line number Diff line change 2
2
set -eu
3
3
4
4
echo " now linting: $1 "
5
- docker run --rm -i hadolint/hadolint hadolint --ignore DL3006 - < " $1 "
6
- echo " -------"
5
+ docker run --rm -i hadolint/hadolint:v1.3.0 hadolint --ignore DL3006 - < " $1 "
6
+ echo " -------"
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- docker pull hadolint/hadolint
3
+ docker pull hadolint/hadolint:v1.3.0
4
4
5
5
DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
6
6
Original file line number Diff line number Diff line change 1
1
FROM ubuntu:xenial as fetcher
2
2
3
3
RUN apt-get update && \
4
- apt-get install --yes --no-install-recommends git=1:2.* ca-certificates=201*
4
+ apt-get install --yes --no-install-recommends git=1:2.* ca-certificates=201* && \
5
+ apt-get clean && rm -rf /var/lib/apt/lists/*
5
6
6
7
RUN git clone --depth 1 https://phabricator.wikimedia.org/source/tool-quickstatements.git quickstatements
7
8
RUN git clone --depth 1 https://bitbucket.org/magnusmanske/magnustools.git magnustools
@@ -43,4 +44,4 @@ ENV MW_SITE_NAME=wikibase-docker\
43
44
RUN install -d -owww-data /var/log/quickstatements
44
45
45
46
ENTRYPOINT ["/bin/bash" ]
46
- CMD ["/entrypoint.sh" ]
47
+ CMD ["/entrypoint.sh" ]
Original file line number Diff line number Diff line change 1
1
FROM ubuntu:xenial as fetcher
2
2
3
3
RUN apt-get update && \
4
- apt-get install --yes --no-install-recommends unzip=6.*
4
+ apt-get install --yes --no-install-recommends unzip=6.* && \
5
+ apt-get clean && rm -rf /var/lib/apt/lists/*
5
6
6
7
ADD https://github.com/wikimedia/wikidata-query-gui/archive/master.zip ./master.zip
7
8
@@ -36,4 +37,4 @@ ENV LANGUAGE=en\
36
37
BRAND_TITLE=DockerWikibaseQueryService
37
38
38
39
ENTRYPOINT ["/entrypoint.sh" ]
39
- CMD ["nginx" , "-g" , "daemon off;" ]
40
+ CMD ["nginx" , "-g" , "daemon off;" ]
Original file line number Diff line number Diff line change 1
1
FROM ubuntu:xenial as fetcher
2
2
3
3
RUN apt-get update && \
4
- apt-get install --yes --no-install-recommends unzip=6.*
4
+ apt-get install --yes --no-install-recommends unzip=6.* && \
5
+ apt-get clean && rm -rf /var/lib/apt/lists/*
5
6
6
7
ADD https://archiva.wikimedia.org/repository/snapshots/org/wikidata/query/rdf/service/0.2.5-SNAPSHOT/service-0.2.5-SNAPSHOT-dist.zip ./service-dist.zip
7
8
@@ -37,4 +38,4 @@ COPY whitelist.txt /wdqs/whitelist.txt
37
38
# TODO is this actually needed?
38
39
RUN chmod +x /wdqs/runUpdate.sh
39
40
40
- ENTRYPOINT ["/entrypoint.sh" ]
41
+ ENTRYPOINT ["/entrypoint.sh" ]
Original file line number Diff line number Diff line change 1
1
FROM ubuntu:xenial as fetcher
2
2
3
3
RUN apt-get update && \
4
- apt-get install --yes --no-install-recommends unzip=6.*
4
+ apt-get install --yes --no-install-recommends unzip=6.* && \
5
+ apt-get clean && rm -rf /var/lib/apt/lists/*
5
6
6
7
ADD https://archiva.wikimedia.org/repository/snapshots/org/wikidata/query/rdf/service/0.3.0-SNAPSHOT/service-0.3.0-SNAPSHOT-dist.zip ./service-dist.zip
7
8
@@ -38,4 +39,4 @@ COPY whitelist.txt /wdqs/whitelist.txt
38
39
# TODO is this actually needed?
39
40
RUN chmod +x /wdqs/runUpdate.sh
40
41
41
- ENTRYPOINT ["/entrypoint.sh" ]
42
+ ENTRYPOINT ["/entrypoint.sh" ]
Original file line number Diff line number Diff line change 1
1
FROM ubuntu:xenial as fetcher
2
2
3
3
RUN apt-get update && \
4
- apt-get install --yes --no-install-recommends unzip=6.*
4
+ apt-get install --yes --no-install-recommends unzip=6.* && \
5
+ apt-get clean && rm -rf /var/lib/apt/lists/*
5
6
6
7
ADD https://archiva.wikimedia.org/repository/snapshots/org/wikidata/query/rdf/service/0.3.1-SNAPSHOT/service-0.3.1-SNAPSHOT-dist.zip ./service-dist.zip
7
8
@@ -38,4 +39,4 @@ COPY whitelist.txt /wdqs/whitelist.txt
38
39
# TODO is this actually needed?
39
40
RUN chmod +x /wdqs/runUpdate.sh
40
41
41
- ENTRYPOINT ["/entrypoint.sh" ]
42
+ ENTRYPOINT ["/entrypoint.sh" ]
Original file line number Diff line number Diff line change 1
1
FROM ubuntu:xenial as fetcher
2
2
3
3
RUN apt-get update && \
4
- apt-get install --yes --no-install-recommends unzip=6.*
4
+ apt-get install --yes --no-install-recommends unzip=6.* && \
5
+ apt-get clean && rm -rf /var/lib/apt/lists/*
5
6
6
7
ADD https://github.com/wikimedia/mediawiki-extensions-Wikibase/archive/REL1_29.zip .
7
8
@@ -41,4 +42,4 @@ ENV MW_SITE_NAME=wikibase-docker\
41
42
42
43
43
44
ENTRYPOINT ["/bin/sh" ]
44
- CMD ["/entrypoint.sh" ]
45
+ CMD ["/entrypoint.sh" ]
Original file line number Diff line number Diff line change 1
1
FROM ubuntu:xenial as fetcher
2
2
3
3
RUN apt-get update && \
4
- apt-get install --yes --no-install-recommends unzip=6.*
4
+ apt-get install --yes --no-install-recommends unzip=6.* && \
5
+ apt-get clean && rm -rf /var/lib/apt/lists/*
5
6
6
7
ADD https://github.com/wikimedia/mediawiki-extensions-Wikibase/archive/REL1_30.zip .
7
8
@@ -40,4 +41,4 @@ ENV MW_SITE_NAME=wikibase-docker\
40
41
MW_SITE_LANG=en
41
42
42
43
ENTRYPOINT ["/bin/bash" ]
43
- CMD ["/entrypoint.sh" ]
44
+ CMD ["/entrypoint.sh" ]
Original file line number Diff line number Diff line change 1
1
FROM ubuntu:xenial as fetcher
2
2
3
3
RUN apt-get update && \
4
- apt-get install --yes --no-install-recommends unzip=6.* jq=1.* curl=7.* ca-certificates=201*
4
+ apt-get install --yes --no-install-recommends unzip=6.* jq=1.* curl=7.* ca-certificates=201* && \
5
+ apt-get clean && rm -rf /var/lib/apt/lists/*
6
+
5
7
COPY download-extension.sh .
6
8
ADD https://github.com/filbertkm/WikibaseImport/archive/master.tar.gz /WikibaseImport.tar.gz
7
9
RUN bash download-extension.sh OAuth;\
You can’t perform that action at this time.
0 commit comments