diff --git a/bitnami/ruby/2.7/debian-11/Dockerfile b/bitnami/ruby/2.7/debian-11/Dockerfile index baa902250264..3a2648c198b8 100644 --- a/bitnami/ruby/2.7/debian-11/Dockerfile +++ b/bitnami/ruby/2.7/debian-11/Dockerfile @@ -4,7 +4,7 @@ ARG TARGETARCH LABEL org.opencontainers.image.authors="https://bitnami.com/contact" \ org.opencontainers.image.description="Application packaged by Bitnami" \ - org.opencontainers.image.ref.name="2.7.6-debian-11-r48" \ + org.opencontainers.image.ref.name="2.7.6-debian-11-r49" \ org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/ruby" \ org.opencontainers.image.title="ruby" \ org.opencontainers.image.vendor="VMware, Inc." \ @@ -29,10 +29,9 @@ RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \ fi && \ sha256sum -c "${COMPONENT}.tar.gz.sha256" && \ tar -zxf "${COMPONENT}.tar.gz" -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ - rm -rf "${COMPONENT}.tar.gz{,sha256}" ; \ + rm -rf "${COMPONENT}".tar.gz{,.sha256} ; \ done -RUN apt-get autoremove --purge -y curl && \ - apt-get update && apt-get upgrade -y && \ +RUN apt-get update && apt-get upgrade -y && \ apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives RUN sed -i 's/^PASS_MAX_DAYS.*/PASS_MAX_DAYS 90/' /etc/login.defs && \ sed -i 's/^PASS_MIN_DAYS.*/PASS_MIN_DAYS 0/' /etc/login.defs && \