[GH-ISSUE #986] go.mod requires a newer version of go than what docker-compose uses #431

Closed
opened 2026-02-25 23:34:13 +03:00 by kerem · 1 comment
Owner

Originally created by @ishmaelavila on GitHub (Oct 5, 2024).
Original GitHub issue: https://github.com/go-shiori/shiori/issues/986

Data

  • Shiori version: Main Branch / 1.7.0
  • Database Engine: Postgres 15
  • Operating system: Ubuntu 20

Describe the bug / actual behavior

When attempting to build the docker containers via docker-compose up for the first time, everything builds and executes successfully except for Shiori itself which fails to build with the following error.
error

Expected behavior

Expected Shiori HTTP server to run

To Reproduce

Steps to reproduce the behavior:

  1. Clone a fresh version of Shiori
  2. Ensure you don't have any existing docker containers/cache
  3. Run docker-compose build && docker-compose up or similar
  4. See error

Screenshots

Linked above

Notes

Bumping the base layer to match what is listed in go.mod solves the issue.

FROM docker.io/golang:1.22.3-alpine3.19
Originally created by @ishmaelavila on GitHub (Oct 5, 2024). Original GitHub issue: https://github.com/go-shiori/shiori/issues/986 ## Data - **Shiori version**: Main Branch / 1.7.0 - **Database Engine**: Postgres 15 - **Operating system**: Ubuntu 20 ## Describe the bug / actual behavior When attempting to build the docker containers via `docker-compose up` for the first time, everything builds and executes successfully except for Shiori itself which fails to build with the following error. <img width="656" alt="error" src="https://github.com/user-attachments/assets/34b6f6b2-ef86-4cc1-bd1d-278a47ae3245"> ## Expected behavior Expected Shiori HTTP server to run ## To Reproduce Steps to reproduce the behavior: 1. Clone a fresh version of Shiori 1. Ensure you don't have any existing docker containers/cache 1. Run `docker-compose build && docker-compose up` or similar 1. See error ## Screenshots Linked above ## Notes Bumping the base layer to match what is listed in `go.mod` solves the issue. ``` FROM docker.io/golang:1.22.3-alpine3.19 ```
kerem 2026-02-25 23:34:13 +03:00
  • closed this issue
  • added the
    type:bug
    label
Author
Owner

@ishmaelavila commented on GitHub (Oct 5, 2024):

https://github.com/go-shiori/shiori/pull/987
One liner to bump Go Docker Image tag

<!-- gh-comment-id:2394833827 --> @ishmaelavila commented on GitHub (Oct 5, 2024): https://github.com/go-shiori/shiori/pull/987 One liner to bump Go Docker Image tag
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shiori#431
No description provided.