Comments (2)
that's because centos6 images are using ancient versions, including sudo. We will need to update sudo package or make some distinction for SystemPackageTool
from conan-docker-tools.
This is probably this issue: https://bugzilla.redhat.com/show_bug.cgi?id=1319936
$ docker run -t -i --rm -v /tmp:/home/conan/project:Z conanio/gcc7-centos6 /bin/bash
[conan@034a47035262 ~]$ sudo -A ls
/var/tmp/sclcdiq0m: line 8: -A: command not found
[conan@034a47035262 ~]$ which sudo
/opt/rh/devtoolset-7/root/usr/bin/sudo
[conan@034a47035262 ~]$ /usr/bin/sudo -A ls
project
[conan@034a47035262 ~]$
I can fix it by replacing it with a symbolic link:
$ sudo rm -rf /opt/rh/devtoolset-7/root/usr/bin/sudo
$ /usr/bin/sudo ln -s /usr/bin/sudo /opt/rh/devtoolset-7/root/usr/bin/sudo
Or replacing the sudo script at /opt/rh/devtoolset-7/root/usr/bin/sudo
with the script at the bottom of the redhat issue tracker.
Afterwards, sudo works fine:
$ sudo -A ls
project
from conan-docker-tools.
Related Issues (20)
- Have conan modern HOT 3
- Publish docker images on Artifactory HOT 5
- libstdc++ is different between images for gcc compilers HOT 7
- Proposal to Update GCC Minor Versions
- Avoid re-buiding all images once are merged to master HOT 2
- Unable to build images using docker-compose v2.17+
- Update OpenJDK version to be able to run on Jenkins
- Avoid building images based 18.04 on CI for now HOT 1
- How to use conan 2.0 in bitbucket-pipelines.yml HOT 2
- Build raw Docker image with Conan client only HOT 1
- gcc11 conan 2.0 image HOT 4
- Drop support for Docker images no longer used in CCI
- Add support for LLVM Fortran
- Issues building Conan 2 GCC images with Docker Compose HOT 2
- Build only those images consumed by CCI HOT 3
- Improve current CI when generating Docker images HOT 1
- Where are conan2 actual docker images? HOT 4
- TLS 1.3 connections for source downloads are unsupported HOT 1
- Add support for version list that should be consumed by both legacy and modern
- Execute parallel Docker push when publishing images
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from conan-docker-tools.