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

Upgrade alpine to latest version #319

Open
Nihisil opened this issue Feb 27, 2023 · 0 comments
Open

Upgrade alpine to latest version #319

Nihisil opened this issue Feb 27, 2023 · 0 comments

Comments

@Nihisil
Copy link
Contributor

Nihisil commented Feb 27, 2023

Why

We would like to keep our stack up-to-date.

In this ticket:

  • Upgrade alpine to latest available version
  • Upgrade glibc to 2.35
  • Upgrade/fix other parts that fails build

Who Benefits?

All template users.

Details

Here was initial attempt to upgrade alpine to 3.17.0 version.

First issue with installing glibc

ERROR: glibc-2.34-r0: trying to overwrite etc/nsswitch.conf owned by alpine-baselayout-data-3.4.0-r0.
1 error; 317 MiB in 56 packages
The command '/bin/sh -c apk add glibc-2.34-r0.apk' returned a non-zero code: 1
Service 'build' failed to build : Build failed

It can be fixed with adding --force-overwrite flag

RUN apk add --force-overwrite glibc-2.35-r0.apk

Second issue with installing dart-sass

06:36:10.091 [debug] Downloading dart-sass from https://github.com/sass/dart-sass/releases/download/1.49.11/dart-sass-1.49.11-linux-x64.tar.gz
** (Mix) mix sass app --no-source-map --style=compressed exited with 2
The command '/bin/sh -c mix assets.deploy' returned a non-zero code: 1
Service 'build' failed to build : Build failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant