I'm trying to create a aws lambda docker image with the lo.tar.gz pre-unzipped inside the image using the following dockerfile:
FROM public.ecr.aws/lambda/python:3.8
RUN yum install -y tar
RUN yum install -y gzip
RUN yum install -y wget
RUN wget https://github.com/vladgolubev/serverless-libreoffice/releases/download/v6.4.0.1/lo.tar.gz
RUN tar -xf lo.tar.gz --verbose
I get the following error from the docker daemon when building this dockerfile:
Error response from daemon: Error processing tar file(duplicates of file paths not supported):
Failed to deploy '<unknown> Dockerfile: ../Dockerfile': Can't retrieve image ID from build stream
I did not get this error with previous versions of this serverless-libreoffice package, only on the python 3.8 supported version.
Any ideas what goes wrong? I've also tried running this with a different base image and i get the same error.
I'm trying to create a aws lambda docker image with the lo.tar.gz pre-unzipped inside the image using the following dockerfile:
I get the following error from the docker daemon when building this dockerfile:
I did not get this error with previous versions of this serverless-libreoffice package, only on the python 3.8 supported version.
Any ideas what goes wrong? I've also tried running this with a different base image and i get the same error.