This repository has been archived by the owner on Apr 15, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged in feature/arbitrary-docker-image (pull request #35)
Support arbitrary Docker image
- Loading branch information
Showing
8 changed files
with
174 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
FROM ubuntu:16.04 | ||
MAINTAINER Messense Lv "messense@icloud.com" | ||
|
||
ENV LC_ALL=C.UTF-8 | ||
ENV LANG=C.UTF-8 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
set +e | ||
echo {{ command }} | base64 --decode | /bin/sh | ||
SCRIPT_EXIT_CODE=$? | ||
set -e | ||
{% if after_success -%} | ||
if [ $SCRIPT_EXIT_CODE -eq 0 ]; then | ||
{{ after_success }} | ||
fi | ||
{%- endif %} | ||
{% if after_failure -%} | ||
if [ $SCRIPT_EXIT_CODE -ne 0 ]; then | ||
{{ after_failure }} | ||
fi | ||
{%- endif %} | ||
exit $SCRIPT_EXIT_CODE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,33 @@ | ||
FROM messense/badwolf-test-runner:python | ||
MAINTAINER Messense Lv "messense@icloud.com" | ||
FROM ubuntu:16.04 | ||
|
||
ENV LC_ALL=C.UTF-8 | ||
ENV LANG=C.UTF-8 | ||
ENV NPM_CONFIG_LOGLEVEL warn | ||
|
||
RUN curl -sL https://deb.nodesource.com/setup_6.x | bash - \ | ||
&& apt-get install -y nodejs | ||
RUN apt-get update \ | ||
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ | ||
build-essential \ | ||
curl \ | ||
ca-certificates \ | ||
shellcheck \ | ||
libffi-dev \ | ||
python \ | ||
python-dev \ | ||
python-pip \ | ||
python-pkg-resources \ | ||
python3 \ | ||
python3-dev \ | ||
python3-setuptools \ | ||
python3-pip \ | ||
python3-pkg-resources \ | ||
libssl-dev \ | ||
&& pip3 install -U pip tox | ||
|
||
RUN add-apt-repository "deb http://archive.ubuntu.com/ubuntu trusty-backports restricted main universe" \ | ||
&& apt-get update \ | ||
&& apt-get install -y shellcheck libffi-dev \ | ||
&& pip install -U pip tox \ | ||
RUN curl -sL https://deb.nodesource.com/setup_6.x | bash - \ | ||
&& apt-get install -y nodejs \ | ||
&& npm config set color false -g \ | ||
&& npm install -g jscs eslint csslint sass-lint jsonlint stylelint \ | ||
&& npm install -g \ | ||
jscs eslint csslint sass-lint jsonlint stylelint \ | ||
eslint-plugin-react eslint-plugin-react-native \ | ||
babel-eslint \ | ||
&& rm -rf /var/lib/apt/list/* /tmp/* /var/tmp/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters