Skip to content

Good dockerfile with fixed version FROM statement stops working... #222

@kamil-kielczewski

Description

@kamil-kielczewski

My old good docker file stops working (!)

FROM nginx:1.13.0-alpine

# install console and node
RUN apk add --no-cache \
    bash=4.3.46-r5 \
    openssl=1.0.2k-r0 \
    nodejs

Error:

Sending build context to Docker daemon 1.274MB
Step 1/8 : FROM nginx:1.13.0-alpine
---> f00ab1b3ac6d
Step 2/8 : RUN apk add --no-cache bash=4.3.46-r5 openssl=1.0.2k-r0 nodejs
---> Running in f54d07a60ce0
fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/community/x86_64/APKINDEX.tar.gz
ERROR: unsatisfiable constraints:
openssl-1.0.2n-r0:
breaks: world[openssl=1.0.2k-r0]
The command '/bin/sh -c apk add --no-cache bash=4.3.46-r5 openssl=1.0.2k-r0 nodejs' returned a non-zero code: 1

WHY ? :( :( :(
I used FIXED version number in FROM statement :( :( :( - few months ago it works without any problems

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