Skip to content

Dockerfile is buggy: modules/Dockerfile.alpine  #518

@AnubhavUjjawal

Description

@AnubhavUjjawal

In the line https://github.com/nginxinc/docker-nginx/blob/dcaaf66e4464037b1a887541f39acf8182233ab8/modules/Dockerfile.alpine#L21 we are cloning https://hg.nginx.org/pkg-oss/ . But updates to that repository such as updating Nginx to 1.19.8 fail the docker build for earlier versions.

For example, If I use the current mainline-alpine (1.19.7-alpine) as builder, build fails.

To mitigate this, we can checkout to a specific revision using hg update -r <rev> after clone.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions