Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make docker images rootless #173

Merged
merged 7 commits into from
Sep 6, 2023
Merged

Conversation

thomashbrnrd
Copy link
Collaborator

No description provided.

@thomashbrnrd thomashbrnrd requested a review from leihuayi August 29, 2023 13:01
@thomashbrnrd thomashbrnrd force-pushed the use-rootless-dockerfiles branch 5 times, most recently from 14c1c01 to 3e43f71 Compare August 30, 2023 07:45
@thomashbrnrd thomashbrnrd changed the title Make backend image rootless [WIP] Make backend image rootless Aug 30, 2023
@thomashbrnrd thomashbrnrd force-pushed the use-rootless-dockerfiles branch 4 times, most recently from 6b20767 to 90e17d5 Compare August 30, 2023 10:51
Copy link
Contributor

@leihuayi leihuayi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • a few changes against good practices to my mind
  • two breaking changes
  • some changes unecessary

backend/Dockerfile Outdated Show resolved Hide resolved
backend/Dockerfile Outdated Show resolved Hide resolved
backend/Dockerfile Outdated Show resolved Hide resolved
backend/Dockerfile Outdated Show resolved Hide resolved
backend/Dockerfile Outdated Show resolved Hide resolved
docker-compose-dev.yml Outdated Show resolved Hide resolved
docker-compose-dev.yml Outdated Show resolved Hide resolved
docker-compose-dev.yml Show resolved Hide resolved
infra/kube/helm/templates/deployment-backend.yaml Outdated Show resolved Hide resolved
Copy link
Contributor

@leihuayi leihuayi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you use this PR to delete the useless filebeat service from docekr-compose-prod please ?

@thomashbrnrd thomashbrnrd force-pushed the use-rootless-dockerfiles branch from 90e17d5 to c210177 Compare August 30, 2023 16:00
@thomashbrnrd thomashbrnrd force-pushed the use-rootless-dockerfiles branch from c210177 to 59af920 Compare August 30, 2023 16:08
@thomashbrnrd thomashbrnrd changed the title [WIP] Make backend image rootless [WIP] Make docker images rootless Aug 31, 2023
@thomashbrnrd thomashbrnrd changed the title [WIP] Make docker images rootless Make docker images rootless Aug 31, 2023
@thomashbrnrd thomashbrnrd marked this pull request as ready for review August 31, 2023 10:19
@thomashbrnrd thomashbrnrd force-pushed the use-rootless-dockerfiles branch from 300988d to 629a160 Compare August 31, 2023 14:34
@thomashbrnrd thomashbrnrd requested a review from leihuayi August 31, 2023 14:43
@thomashbrnrd thomashbrnrd force-pushed the use-rootless-dockerfiles branch from 629a160 to fa2d000 Compare September 4, 2023 08:49
@@ -18,8 +18,6 @@ services:
image: basegun-backend:${TAG}-prod
ports:
- 5000:5000
volumes:
- /var/log/basegun:/app/logs
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good idea !

docker-compose-prod.yml Outdated Show resolved Hide resolved
frontend/Dockerfile Show resolved Hide resolved
@thomashbrnrd thomashbrnrd force-pushed the use-rootless-dockerfiles branch 2 times, most recently from c21e211 to 75565ee Compare September 4, 2023 15:29
@thomashbrnrd thomashbrnrd force-pushed the use-rootless-dockerfiles branch from 75565ee to ed97da0 Compare September 4, 2023 15:33
@thomashbrnrd thomashbrnrd force-pushed the use-rootless-dockerfiles branch from 9722e5f to 8f72ec8 Compare September 6, 2023 12:35
@thomashbrnrd thomashbrnrd force-pushed the use-rootless-dockerfiles branch from 8f72ec8 to bd03e18 Compare September 6, 2023 12:41
@thomashbrnrd thomashbrnrd merged commit b59d6f9 into develop Sep 6, 2023
@thomashbrnrd thomashbrnrd deleted the use-rootless-dockerfiles branch September 6, 2023 13:13
thomashbrnrd added a commit that referenced this pull request Oct 24, 2023
* Make backend image rootless

* Remove filebeat from docker-compose-prod.yml

* Make frontend image rootless

* Send logs to stdout

* Remove tag question when using Makefile

* Remove logs endpoint

* Remove useless PATH_LOGS and CONTINUE=y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants