Skip to content
This repository was archived by the owner on Apr 28, 2026. It is now read-only.
This repository was archived by the owner on Apr 28, 2026. It is now read-only.

ERROR: unsatisfiable constraints #5

Description

@grichardomi

docker build -t my_app . gives off this error. any idea?

  • apk add --no-cache --virtual .app-builddeps nodejs=6.2.0-r0
    fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/main/x86_64/APKINDEX.tar.gz
    fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/community/x86_64/APKINDEX.tar.gz
    ERROR: unsatisfiable constraints:
    .app-builddeps-0:
    masked in: cache
    satisfies: world[.app-builddeps]
    The command '/bin/sh -c set -ex && apk add --no-cache --virtual .app-builddeps nodejs=6.2.0-r0 && mkdir -p /usr/src/app/tmp/cache && mkdir -p /usr/src/app/tmp/pids && mkdir -p /usr/src/app/tmp/sockets && DATABASE_URL=postgres://postgres@example.com:5432/fakedb AMQP_URL=amqp://guest:guest@amqp:5672 TWITTER_API_KEY=SOME_KEY TWITTER_API_SECRET=SOME_SECRET SECRET_KEY_BASE=10167c7f7654ed02b3557b05b88ece rails assets:precompile && echo "apk del .app-builddeps" && chown -R nobody /usr/src/app' returned a non-zero code: 2

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions