Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
birding
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Evili del Rio
birding
Commits
6a217116
Commit
6a217116
authored
Oct 29, 2019
by
Evili del Rio
Browse files
Options
Browse Files
Download
Plain Diff
Arrange Dockerfile
parents
32f9df2e
fa6f2cd7
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
2 deletions
+24
-2
.dockerignore
.dockerignore
+5
-0
.gitlab-ci.yml
.gitlab-ci.yml
+19
-0
Dockerfile
Dockerfile
+0
-2
No files found.
.dockerignore
0 → 100644
View file @
6a217116
.git
*~
.env
*.sqlite3
*.pyc
.gitlab-ci.yml
0 → 100644
View file @
6a217116
include
:
-
template
:
Auto-DevOps.gitlab-ci.yml
build
:
script
:
-
set -x
-
|
if [[ -z "$CI_COMMIT_TAG" ]]; then
export CI_APPLICATION_REPOSITORY=${CI_APPLICATION_REPOSITORY:-$CI_REGISTRY_IMAGE/$CI_COMMIT_REF_SLUG}
export CI_APPLICATION_TAG=${CI_APPLICATION_TAG:-$CI_COMMIT_SHA}
else
export CI_APPLICATION_REPOSITORY=${CI_APPLICATION_REPOSITORY:-$CI_REGISTRY_IMAGE}
export CI_APPLICATION_TAG=${CI_APPLICATION_TAG:-$CI_COMMIT_TAG}
fi
-
netstat -r -n
-
cat /etc/resolv.conf
-
nslookup www.google.com
-
wget -O /tmp/index.html https://www.google.cat
-
sh -x /build/build.sh
Dockerfile
View file @
6a217116
...
...
@@ -2,7 +2,6 @@ FROM python:3.7-alpine
ARG
dev_packages="gcc g++ libc-dev libxml2-dev libxslt-dev postgresql-dev openldap-dev"
RUN
mkdir
-pv
/app
WORKDIR
/app
...
...
@@ -20,7 +19,6 @@ RUN apk update && \
apk del
${
dev_packages
}
&&
\
rm
-fr
/root/.cache
ENV
DJANGO_STATIC_ROOT=/static
ENV
DJANGO_MEDIA_ROOT=/media
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment