Closed ucfchandra closed 9 months ago
Hi,
Containerfile in description looks incorrect to me there is an error on second line of RUN
, could you please try below containerfile and check if it works.
FROM python:3.11-bookworm
ENTRYPOINT ["/bin/bash"]
WORKDIR /home
RUN apt-get clean && \
apt-get update -y && \
apt-get upgrade -y && \
apt-get install -f libldap-dev libsasl2-dev build-essential npm -y
@ucfchandra Can this be closed?
@sanmai-NL Yes, I solved it by getting a more up to date python image
Issue Description
When python:3.11-bookworm is pulled and run, I can go in and enter the following commands:
apt-get clean && \ apt-get update -y && \ apt-get upgrade -y && \ apt-get install -f libldap-dev \ libsasl2-dev \ build-essential \ npm -y
However, when I make a container file that says RUN the command above, I get hash sum mismatches and the apt-get fails.
Steps to reproduce the issue
Steps to reproduce the issue
FROM python:3.11-bookworm ENTRYPOINT ["/bin/bash"]
WORKDIR /home
RUN apt-get clean && \ apt-get update -y && \ apt-get upgrade -y && \ apt-get install -f libldap-dev \ libsasl2-dev \ build-essential \ npm -y
Describe the results you received
E: unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
When tried with both, I get Hash Sum mismatches and an error building at the RUN step with exit status 100
Describe the results you expected
My container to work T.T
podman info output
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
Additional environment details
Mac
Additional information
N/A