shelfio / libreoffice-lambda-base-image

MIT License
30 stars 19 forks source link

Error 403 while building image #25

Closed vladgardusseedblink closed 9 months ago

vladgardusseedblink commented 9 months ago

This is my Dockerfile:

FROM public.ecr.aws/shelf/lambda-libreoffice-base:7.4-node16-x86_64

COPY ./ ${LAMBDA_TASK_ROOT}/

RUN npm install

CMD [ "dist/index.handler" ]

and this is the error I get if I try to run the docker build command: ERROR: failed to solve: public.ecr.aws/shelf/lambda-libreoffice-base:7.4-node16-x86_64: unexpected status from HEAD request to https://public.ecr.aws/v2/shelf/lambda-libreoffice-base/manifests/7.4-node16-x86_64: 403 Forbidden any ideas why?

vladgardusseedblink commented 9 months ago

Going to close this since I found out what the issue was. I previously logged into a public AWS ECR and this was messing up with docker. I ran docker logout public.ecr.aws and everything worked fine after.