FROM amazonlinux:latest
ENV TZ=Europe/Stockholm
##
## Timezone
##
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
##
## Install Java, awslogs and other required stuff
##
RUN yum -y update
RUN yum -y install java-1.8.0-openjdk-headless shadow-utils.x86_64 tar unzip wget findutils awslogs
<span>Updating : filesystem-3.2-25.amzn2.x86_64 73/162</span><span>Error unpacking rpm package filesystem-3.2-25.amzn2.x86_64</span> <span>error: unpacking of archive failed on file /proc: cpio: chown</span>
Build works fine locally on macOS (anu four days ago in Bitbucket Pipelines...