Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Feeds
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Feeds
Commits
56315b39
Unverified
Commit
56315b39
authored
1 year ago
by
Andrew Dolgov
Browse files
Options
Downloads
Patches
Plain Diff
exp: switch to kaniko
parent
89f5af62
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.docker/app/Dockerfile
+9
-7
9 additions, 7 deletions
.docker/app/Dockerfile
.docker/web-nginx/Dockerfile
+1
-1
1 addition, 1 deletion
.docker/web-nginx/Dockerfile
.gitlab-ci.yml
+5
-5
5 additions, 5 deletions
.gitlab-ci.yml
with
15 additions
and
13 deletions
.docker/app/Dockerfile
+
9
−
7
View file @
56315b39
...
@@ -33,15 +33,17 @@ ENV CI_COMMIT_TIMESTAMP=${CI_COMMIT_TIMESTAMP}
...
@@ -33,15 +33,17 @@ ENV CI_COMMIT_TIMESTAMP=${CI_COMMIT_TIMESTAMP}
ARG
CI_COMMIT_SHA
ARG
CI_COMMIT_SHA
ENV
CI_COMMIT_SHA=${CI_COMMIT_SHA}
ENV
CI_COMMIT_SHA=${CI_COMMIT_SHA}
ADD
--chmod=0755
startup.sh ${SCRIPT_ROOT}
ADD
.docker/app/
startup.sh ${SCRIPT_ROOT}
ADD
--chmod=0755
updater.sh ${SCRIPT_ROOT}
ADD
.docker/app/
updater.sh ${SCRIPT_ROOT}
ADD
--chmod=0755
dcron.sh ${SCRIPT_ROOT}
ADD
.docker/app/
dcron.sh ${SCRIPT_ROOT}
ADD
--chmod=0755
backup.sh /etc/periodic/weekly/backup
ADD
.docker/app/
backup.sh /etc/periodic/weekly/backup
ADD
index.php ${SCRIPT_ROOT}
RUN
chmod
0755
${
SCRIPT_ROOT
}
/
*
.sh
ADD
config.docker.php ${SCRIPT_ROOT}
COPY
--from=app-src . ${SRC_DIR}
ADD
.docker/app/index.php ${SCRIPT_ROOT}
ADD
.docker/app/config.docker.php ${SCRIPT_ROOT}
COPY
. ${SRC_DIR}
ARG
ORIGIN_REPO_XACCEL=https://git.tt-rss.org/fox/ttrss-nginx-xaccel.git
ARG
ORIGIN_REPO_XACCEL=https://git.tt-rss.org/fox/ttrss-nginx-xaccel.git
...
...
This diff is collapsed.
Click to expand it.
.docker/web-nginx/Dockerfile
+
1
−
1
View file @
56315b39
...
@@ -2,7 +2,7 @@ FROM registry.fakecake.org/docker.io/nginx:alpine
...
@@ -2,7 +2,7 @@ FROM registry.fakecake.org/docker.io/nginx:alpine
HEALTHCHECK
CMD curl --fail http://localhost/tt-rss/index.php || exit 1
HEALTHCHECK
CMD curl --fail http://localhost/tt-rss/index.php || exit 1
COPY
nginx.conf /etc/nginx/templates/nginx.conf.template
COPY
.docker/web-nginx/
nginx.conf /etc/nginx/templates/nginx.conf.template
# By default, nginx will send the php requests to "app" server, but this server
# By default, nginx will send the php requests to "app" server, but this server
# name can be overridden at runtime by passing an APP_UPSTREAM env var
# name can be overridden at runtime by passing an APP_UPSTREAM env var
...
...
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
+
5
−
5
View file @
56315b39
...
@@ -8,7 +8,7 @@ variables:
...
@@ -8,7 +8,7 @@ variables:
include
:
include
:
-
project
:
'
ci/ci-templates'
-
project
:
'
ci/ci-templates'
ref
:
master
ref
:
master
file
:
.ci-build-docker.yml
file
:
.ci-build-docker
-kaniko
.yml
-
project
:
'
ci/ci-templates'
-
project
:
'
ci/ci-templates'
ref
:
master
ref
:
master
file
:
.ci-lint-common.yml
file
:
.ci-lint-common.yml
...
@@ -25,22 +25,22 @@ phpstan:
...
@@ -25,22 +25,22 @@ phpstan:
ttrss-web-nginx
:
ttrss-web-nginx
:
extends
:
.build-master
extends
:
.build-master
variables
:
variables
:
BUILD_CONTEXT
:
${CI_PROJECT_DIR}/.docker/web-nginx
DOCKERFILE
:
${CI_PROJECT_DIR}/.docker/web-nginx
/Dockerfile
ttrss-web-nginx:branch
:
ttrss-web-nginx:branch
:
extends
:
.build-branch
extends
:
.build-branch
variables
:
variables
:
BUILD_CONTEXT
:
${CI_PROJECT_DIR}/.docker/web-nginx
DOCKERFILE
:
${CI_PROJECT_DIR}/.docker/web-nginx
/Dockerfile
ttrss-fpm-pgsql-static
:
ttrss-fpm-pgsql-static
:
extends
:
.build-master
extends
:
.build-master
variables
:
variables
:
BUILD_CONTEXT
:
${CI_PROJECT_DIR}/.docker/app
DOCKERFILE
:
${CI_PROJECT_DIR}/.docker/app
/Dockerfile
ttrss-fpm-pgsql-static:branch
:
ttrss-fpm-pgsql-static:branch
:
extends
:
.build-branch
extends
:
.build-branch
variables
:
variables
:
BUILD_CONTEXT
:
${CI_PROJECT_DIR}/.docker/app
DOCKERFILE
:
${CI_PROJECT_DIR}/.docker/app
/Dockerfile
phpdoc
:
phpdoc
:
image
:
${PHP_IMAGE}
image
:
${PHP_IMAGE}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment