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
I currently create a custom Docker Image where I copy .crt files into the container and then finally it runs 'update-ca-certificates'. I have been using the docker image grafana/k6:0.48.0 and did not encounter any issues.
I now changed the docker file to use grafana/k6:0.49.0 instead, and now I get /bin/sh: update-ca-certificates: not found.
`FROM grafana/k6:0.49.0
USER root
COPY certs/xxxxx.crt /usr/local/share/ca-certificates/ixxxxx.capi.crt
RUN update-ca-certificates
COPY test /test
USER 1000
EXPOSE 6565
ENV TZ="Africa/Johannesburg"
ENTRYPOINT ["k6", "run"]`
k6 version
0.49.0
OS
macOS
Docker version and image (if applicable)
grafana/k6:0.49.0
Steps to reproduce the problem
Create DockerFile with contents:
`FROM grafana/k6:0.48.0
USER root
COPY certs/xxxxxx.crt /usr/local/share/ca-certificates/xxxxxx.crt
RUN update-ca-certificates
COPY test /test
USER 1000
EXPOSE 6565
ENV TZ="Africa/Johannesburg"
ENTRYPOINT ["k6", "run"]`
Run command: 'docker build .'
Build is successful.
Change the Docker file FROM to 0.49.0 instead of 0.48.0
Run command: 'docker build.
Expected behaviour
Docker build to be successful
Actual behaviour
[5/6] RUN update-ca-certificates:
0.197 /bin/sh: update-ca-certificates: not found
The text was updated successfully, but these errors were encountered:
Brief summary
I currently create a custom Docker Image where I copy .crt files into the container and then finally it runs 'update-ca-certificates'. I have been using the docker image grafana/k6:0.48.0 and did not encounter any issues.
I now changed the docker file to use grafana/k6:0.49.0 instead, and now I get /bin/sh: update-ca-certificates: not found.
`FROM grafana/k6:0.49.0
USER root
COPY certs/xxxxx.crt /usr/local/share/ca-certificates/ixxxxx.capi.crt
RUN update-ca-certificates
COPY test /test
USER 1000
EXPOSE 6565
ENV TZ="Africa/Johannesburg"
ENTRYPOINT ["k6", "run"]`
k6 version
0.49.0
OS
macOS
Docker version and image (if applicable)
grafana/k6:0.49.0
Steps to reproduce the problem
`FROM grafana/k6:0.48.0
USER root
COPY certs/xxxxxx.crt /usr/local/share/ca-certificates/xxxxxx.crt
RUN update-ca-certificates
COPY test /test
USER 1000
EXPOSE 6565
ENV TZ="Africa/Johannesburg"
ENTRYPOINT ["k6", "run"]`
Run command: 'docker build .'
Build is successful.
Change the Docker file FROM to 0.49.0 instead of 0.48.0
Run command: 'docker build.
Expected behaviour
Docker build to be successful
Actual behaviour
The text was updated successfully, but these errors were encountered: