-
-
Notifications
You must be signed in to change notification settings - Fork 83
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 #140 from geotribu/tooling/improvments-summer-2020
Tooling/improvements summer 2020
- Loading branch information
Showing
5 changed files
with
31 additions
and
9 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 |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
**/.dockerignore | ||
**/.env | ||
**/.git | ||
**/.github | ||
**/.gitignore | ||
**/.project | ||
**/.settings | ||
|
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,16 +1,24 @@ | ||
# FROM python:3.7-slim-buster | ||
FROM python:3.7-alpine3.11 | ||
FROM python:3.8.1-alpine3.11 | ||
|
||
ENV PYTHONDONTWRITEBYTECODE 1 | ||
ENV PYTHONUNBUFFERED 1 | ||
|
||
# Upgrade distrib | ||
RUN apk add --no-cache \ | ||
# dependencies for mkdocs-git-revision-date-localized-plugin | ||
git git-fast-import | ||
# Set build directory | ||
WORKDIR /tmp | ||
|
||
# Install pip requirements | ||
ADD requirements.txt . | ||
RUN python -m pip install -r requirements.txt --no-cache-dir | ||
|
||
# Perform build and cleanup artifacts | ||
RUN \ | ||
apk add --no-cache \ | ||
git \ | ||
git-fast-import \ | ||
openssh \ | ||
&& apk add --no-cache --virtual .build gcc musl-dev \ | ||
&& pip install --no-cache-dir -r requirements.txt \ | ||
&& apk del .build gcc musl-dev \ | ||
&& rm -rf /tmp/* | ||
|
||
# Set working directory | ||
WORKDIR /app |
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 |
---|---|---|
|
@@ -24,6 +24,8 @@ plugins: | |
- minify: | ||
minify_html: true | ||
- rss: | ||
abstract_chars_count: 500 | ||
image: "https://cdn.geotribu.fr/img/internal/charte/geotribu_logo_64x64.png" | ||
length: 50 | ||
- search: | ||
# prebuild_index: python | ||
|
@@ -49,6 +51,8 @@ theme: | |
- tabs | ||
- instant | ||
font: false | ||
icon: | ||
repo: fontawesome/brands/github-alt | ||
language: 'fr' | ||
logo: 'theme/assets/images/geotribu/logo_geotribu.png' | ||
palette: | ||
|
@@ -68,10 +72,19 @@ extra: | |
social: | ||
- icon: 'fontawesome/brands/github-alt' | ||
link: 'https://github.com/geotribu/' | ||
name: "L'organisation Github de Geotribu" | ||
- icon: 'fontawesome/brands/twitter' | ||
link: 'https://twitter.com/search?q=%23GeoRDP&src=typed_query&f=live' | ||
name: "La #GeoRDP de Geotribu sur Twitter" | ||
- icon: 'fontawesome/brands/facebook' | ||
link: 'https://fr-fr.facebook.com/geotribu/' | ||
name: "Page Facebook de Geotribu" | ||
- icon: fontawesome/solid/paper-plane | ||
link: mailto:<[email protected]> | ||
name: "Nous contacter" | ||
- icon: 'fontawesome/brands/slack' | ||
link: 'https://geotribu.slack.com' | ||
name: "Rejoignez-nous sur Slack" | ||
|
||
extra_css: | ||
- 'theme/assets/stylesheets/extra.css' | ||
|
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