Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not build container - 403 error #132

Closed
Slavenin opened this issue Apr 12, 2021 · 2 comments
Closed

Can not build container - 403 error #132

Slavenin opened this issue Apr 12, 2021 · 2 comments

Comments

@Slavenin
Copy link

Hi!

FROM alpine:3.11

ARG PHP_DOCKER_PORT
ARG APP_ENV

ENV PHP_DOCKER_PORT $PHP_DOCKER_PORT
ENV APP_ENV $APP_ENV

LABEL maintainer="Vincent Composieux <[email protected]>"

ADD https://dl.bintray.com/php-alpine/key/php-alpine.rsa.pub /etc/apk/keys/php-alpine.rsa.pub

RUN apk update

RUN apk --update-cache add ca-certificates && \
    echo "https://dl.bintray.com/php-alpine/v3.11/php-7.4" >> /etc/apk/repositories
Building php
Step 1/33 : FROM alpine:3.11
 ---> 44dc5a8658dc
Step 2/33 : ARG PHP_DOCKER_PORT
 ---> Using cache
 ---> 511095b2361a
Step 3/33 : ARG APP_ENV
 ---> Using cache
 ---> 9998265d2435
Step 4/33 : ENV PHP_DOCKER_PORT $PHP_DOCKER_PORT
 ---> Using cache
 ---> 9c519282872a
Step 5/33 : ENV APP_ENV $APP_ENV
 ---> Using cache
 ---> 1769f2d0be8c
Step 6/33 : LABEL maintainer="Vincent Composieux <[email protected]>"
 ---> Using cache
 ---> 33c3ba1facf5
Step 7/33 : ADD https://dl.bintray.com/php-alpine/key/php-alpine.rsa.pub /etc/apk/keys/php-alpine.rsa.pub
ERROR: Service 'php' failed to build: ADD failed: failed to GET https://dl.bintray.com/php-alpine/key/php-alpine.rsa.pub with status 403 Forbidden: Forbidden!
Building php
Step 1/33 : FROM alpine:3.11
 ---> 44dc5a8658dc
Step 2/33 : ARG PHP_DOCKER_PORT
 ---> Using cache
 ---> 511095b2361a
Step 3/33 : ARG APP_ENV
 ---> Using cache
 ---> 9998265d2435
Step 4/33 : ENV PHP_DOCKER_PORT $PHP_DOCKER_PORT
 ---> Using cache
 ---> 9c519282872a
Step 5/33 : ENV APP_ENV $APP_ENV
 ---> Using cache
 ---> 1769f2d0be8c
Step 6/33 : LABEL maintainer="Vincent Composieux <[email protected]>"
 ---> Using cache
 ---> 33c3ba1facf5
Step 7/33 : ADD https://dl.bintray.com/php-alpine/key/php-alpine.rsa.pub /etc/apk/keys/php-alpine.rsa.pub
ERROR: Service 'php' failed to build: ADD failed: failed to GET https://dl.bintray.com/php-alpine/key/php-alpine.rsa.pub with status 403 Forbidden: Forbidden!
ERROR: No container found for php_1
@devfelipereis
Copy link

Same here.

@Jeroen-G
Copy link

See #131

@xarem xarem closed this as completed Apr 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants