Here is My Dockerfile:
FROM ubuntu:20.04RUN apt-get update && apt-get upgrade -yRUN apt-get install libssl-devRUN apt-get install -y -q build-essential curlRUN curl https://sh.rustup.rs -sSf | sh -s -- -yENV PATH="/root/.cargo/bin:${PATH}"WORKDIR /command-agentCOPY . /command-agentRUN cargo build --releaseCOPY /command-agent/target/release/command-agent /EXPOSE 8080ENTRYPOINT command-agent
Its build successfully docker image but when I run that container its gives error:
command-agent: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /command-agent/command-agent)
I do not understand, How can I fix this issue ?