You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Team, I was wondering if any of you have got this issue in past.\
I tried to write a svix dockerfile using rust 1.76.0 and found that this image has no longer /etc/apt/sources.list, This is present in 1.70.0 image..
I was using rust 1.70.0 image in my dockerfile as base image for svix.
This had /etc/apt/sources.list file in it and I was updating my jfrog artifactory packages in it.. but for some reasons 1.76.0 version of docker image of rust do not have this..
If you have encountered this issue then could you please assist me.
The text was updated successfully, but these errors were encountered:
Below is the sample Dockerfile which was working fine with rust 1.70.0 base image
FROM artifactory.myorg.com/rust:1.70.0 AS build
RUN mv /etc/apt/sources.list /etc/apt/sources.list.bak && mv /etc/apt/sources.list.d /etc/apt/sources.list.bak.d
RUN sh -c "echo 'deb https://myuser:mypassword@artifactory.myorg.com/artifactory/debian-main-remote bullseye main' | tee -a /etc/apt/sources.list"
RUN apt-get update && apt-get install -y build-essential=12.* checkinstall=1.* zlib1g-dev=1:* pkg-config=0.29.* libssl-dev=* --no-install-recommends
But fails for below as source.list is not present anymore
FROM artifactory.myorg.com/rust:1.76.0 AS build
RUN mv /etc/apt/sources.list /etc/apt/sources.list.bak && mv /etc/apt/sources.list.d /etc/apt/sources.list.bak.d
RUN sh -c "echo 'deb https://myuser:mypassword@artifactory.myorg.com/artifactory/debian-main-remote bullseye main' | tee -a /etc/apt/sources.list"
RUN apt-get update && apt-get install -y build-essential=12.* checkinstall=1.* zlib1g-dev=1:* pkg-config=0.29.* libssl-dev=* --no-install-recommends
Is there anything I can do here.. I tried to do workaround by creating this source.list manually but I get below error when I do that.
Hi Team, I was wondering if any of you have got this issue in past.\
I tried to write a svix dockerfile using rust 1.76.0 and found that this image has no longer /etc/apt/sources.list, This is present in 1.70.0 image..
I was using rust 1.70.0 image in my dockerfile as base image for svix.
This had /etc/apt/sources.list file in it and I was updating my jfrog artifactory packages in it.. but for some reasons 1.76.0 version of docker image of rust do not have this..
If you have encountered this issue then could you please assist me.
The text was updated successfully, but these errors were encountered: