-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #100 from TomerFi/update-aioswitcher
Update aioswitcher
- Loading branch information
Showing
6 changed files
with
46 additions
and
14 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 |
---|---|---|
|
@@ -8,21 +8,28 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"] | |
ENV SHELL=/bin/bash \ | ||
PATH=$PATH:/opt/gopath/bin:/opt/go/bin | ||
|
||
# Install linux packages | ||
RUN apt-get update \ | ||
&& apt-get install -y --no-install-recommends git-lfs \ | ||
&& apt-get install -y --no-install-recommends nano \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# Install nodejs (includes npm) | ||
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - \ | ||
&& apt-get install -y --no-install-recommends nodejs=14.3.0-1nodesource1 \ | ||
&& apt-get install -y --no-install-recommends nodejs \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# Install golang | ||
WORKDIR /opt/go | ||
RUN curl -sOL https://dl.google.com/go/go1.14.2.linux-amd64.tar.gz \ | ||
&& tar -C /opt -xf go1.14.2.linux-amd64.tar.gz \ | ||
&& rm go1.14.2.linux-amd64.tar.gz \ | ||
RUN curl -sOL https://dl.google.com/go/go1.14.4.linux-amd64.tar.gz \ | ||
&& tar -C /opt -xf go1.14.4.linux-amd64.tar.gz \ | ||
&& rm go1.14.4.linux-amd64.tar.gz \ | ||
&& bin/go env -w GOPATH=/opt/gopath GO111MODULE=on | ||
|
||
# Install hadolint | ||
RUN curl -sL https://github.com/hadolint/hadolint/releases/download/v1.17.6/hadolint-Linux-x86_64 \ | ||
RUN curl -sL https://github.com/hadolint/hadolint/releases/download/v1.18.0/hadolint-Linux-x86_64 \ | ||
-o /usr/local/bin/hadolint \ | ||
&& chmod +x /usr/local/bin/hadolint | ||
|
||
|
@@ -32,7 +39,10 @@ COPY requirements.txt ./ | |
# Install modules, requirements, dependencies, packages, libraries etc. | ||
RUN \ | ||
# Install node modules | ||
npm install -g [email protected] \ | ||
npm install -g \ | ||
[email protected] \ | ||
@commitlint/[email protected] \ | ||
@commitlint/[email protected] \ | ||
# Install golang modules | ||
&& go get -u github.com/client9/misspell/cmd/[email protected] \ | ||
# Install python dependencies | ||
|
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,5 +1,5 @@ | ||
aiohttp==3.6.2 | ||
aioswitcher==1.2.0 | ||
aioswitcher==1.2.1 | ||
asynctest==0.13.0 | ||
bandit==1.6.2 | ||
beautifulsoup4==4.9.1 | ||
|
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,3 @@ | ||
--- | ||
ignored: | ||
- DL3008 |
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,14 @@ | ||
{ | ||
"recommendations": [ | ||
"eamodio.gitlens", | ||
"donjayamanne.githistory", | ||
"davidanson.vscode-markdownlint", | ||
"shardulm94.trailing-spaces", | ||
"coenraads.bracket-pair-colorizer-2", | ||
"oderwat.indent-rainbow", | ||
"wakatime.vscode-wakatime", | ||
"bierner.markdown-emoji", | ||
"njpwerner.autodocstring", | ||
"lextudio.restructuredtext" | ||
] | ||
} |
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