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

change unified to debian images #2514

Merged
merged 8 commits into from
Jan 5, 2023
Merged

change unified to debian images #2514

merged 8 commits into from
Jan 5, 2023

Conversation

kspearrin
Copy link
Member

@kspearrin kspearrin commented Dec 23, 2022

Type of change

- [x] Bug fix
- [ ] New feature development
- [ ] Tech debt (refactoring, code cleanup, dependency upgrades, etc)
- [ ] Build/deploy pipeline (DevOps)
- [ ] Other

Objective

.NET Core has issues with Sqlite libraries on alpine images. In order to support reliable sqlite usage, we need to move to something else, like Debian. This PR makes the change to debian images.

Code changes

  • Dockerfile: Change to Debian images and update any commands to reflect that.
  • entrypoint: Update any commands to Debian counterparts. Change to bash instead of sh in order to get some commands, like the openssl ones, to run. Bash squats on UID and GID already, so switch variables to match those of other popular linuxserver.io images, using PUID, and PGID.

Before you submit

  • Please check for formatting errors (dotnet format --verify-no-changes) (required)
  • If making database changes - make sure you also update Entity Framework queries and/or migrations
  • Please add unit tests where it makes sense to do so (encouraged but not required)
  • If this change requires a documentation update - notify the documentation team
  • If this change has particular deployment requirements - notify the DevOps team

Copy link
Member

@vgrassia vgrassia left a comment

Choose a reason for hiding this comment

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

settings.env also has to be changed to use PUID and PGID instead of UID and GID.

docker-unified/entrypoint.sh Outdated Show resolved Hide resolved
docker-unified/entrypoint.sh Outdated Show resolved Hide resolved
@kspearrin kspearrin merged commit e800219 into master Jan 5, 2023
@kspearrin kspearrin deleted the unified-debian branch January 5, 2023 14:27
cyprain-okeke pushed a commit that referenced this pull request Jan 5, 2023
* change to debian images

* add back sqlite connectionstring

* add back sqlite connection string

* Update docker-unified/entrypoint.sh

Co-authored-by: Vince Grassia <[email protected]>

* Update docker-unified/entrypoint.sh

Co-authored-by: Vince Grassia <[email protected]>

* update settings

* uid requires #

Co-authored-by: Vince Grassia <[email protected]>
cyprain-okeke added a commit that referenced this pull request Jan 6, 2023
* change to debian images

* add back sqlite connectionstring

* add back sqlite connection string

* Update docker-unified/entrypoint.sh

Co-authored-by: Vince Grassia <[email protected]>

* Update docker-unified/entrypoint.sh

Co-authored-by: Vince Grassia <[email protected]>

* update settings

* uid requires #

Co-authored-by: Vince Grassia <[email protected]>
eliykat pushed a commit that referenced this pull request Jan 10, 2023
* change to debian images

* add back sqlite connectionstring

* add back sqlite connection string

* Update docker-unified/entrypoint.sh

Co-authored-by: Vince Grassia <[email protected]>

* Update docker-unified/entrypoint.sh

Co-authored-by: Vince Grassia <[email protected]>

* update settings

* uid requires #

Co-authored-by: Vince Grassia <[email protected]>
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