Skip to content

dockerコンテナでICU librariesが入っていません #293

@catherine-newman

Description

@catherine-newman

最近のdockerコンテナで下記のエラーが出ます。

[+] Running 1/1
 ✔ Container tverrec  Created                                                                                                                 0.0s
Attaching to tverrec
tverrec  | Process terminated. Couldn't find a valid ICU package installed on the system. Please install libicu (or icu-libs) using your package manager and try again. Alternatively you can set the configuration flag System.Globalization.Invariant to true if you want to run with no globalization support. Please see https://aka.ms/dotnet-missing-libicu for more information.
tverrec  |    at System.Environment.FailFast(System.Runtime.CompilerServices.StackCrawlMarkHandle, System.String, System.Runtime.CompilerServices.ObjectHandleOnStack, System.String)
tverrec  |    at System.Environment.FailFast(System.Threading.StackCrawlMark ByRef, System.String, System.Exception, System.String)
tverrec  |    at System.Environment.FailFast(System.String)
tverrec  |    at System.Globalization.GlobalizationMode+Settings..cctor()
tverrec  |    at System.Globalization.CultureData.CreateCultureWithInvariantData()
tverrec  |    at System.Globalization.CultureData.get_Invariant()
tverrec  |    at System.Globalization.CultureInfo..cctor()
tverrec  |    at System.Globalization.CultureInfo.get_CurrentUICulture()
tverrec  |    at Microsoft.PowerShell.UnmanagedPSEntry.Start(System.String[], Int32)
tverrec  |    at Microsoft.PowerShell.ManagedPSEntry.Main(System.String[])
tverrec  | start_tverrec.sh: line 17:     8 Aborted                 (core dumped) pwsh -NoProfile "../src/loop.ps1"
tverrec  | Completed ...
tverrec exited with code 0 (restarting)

このようなcompose.ymlファイルを使っているます

services:
  tverrec:
    container_name: tverrec
    image: dongaba/tverrec:latest
    hostname: "tverrec"
    restart: unless-stopped
    tty: true
    stdin_open: true
    network_mode: "host"
    user: "root"

    build:
      context: .
      dockerfile: ./Dockerfile

    environment:
      POWERSHELL_TELEMETRY_OPTOUT: 1
      COMPOSE_PROJECT_NAME: tverrec

    tmpfs:
      - /mnt/Temp

    volumes:
      - type: bind
        source: ./data/work
        target: /mnt/Work
      - type: bind
        source: /home/myname/files/media/tv
        target: /mnt/Save
      - type: bind
        source: ./data/container-data
        target: /app/TVerRec/container-data

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions