Skip to content

Conversation

@walteraa
Copy link
Member

Now is possible to build all images which the Dockerfiles are inside the docker/ path.

Is important note that there is a pattern which the Dockerfile should respect: Dockerfile.$IMAGE_TAG.

Added a script to automate the build images using all Dockerfiles inside of docker/ path.
This Dockerfiles should respect the follow pattern: Dockerfile.$IMAGE_TAG.
Fix the README text about Dockerfile pattern.
This script verify if the user is sudo.
The script will be "deployed" in the container in the path /var/scripts/

The script receives a parameter($1) which is the user password.
Now the docker build will run in paralel.
Added the command to run apt-get install sudo.
Added the command to deploy the "sudo test" script.
Copy link
Member

@terciodemelo terciodemelo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We shouldn't have to deploy any kind of scripts to the hosts, even if they are test containers.

sshpm is intended to verify if the provided user for changes is sudo by other means rather then expecting a certain script to be present in the host system

Remove the deployment of test_sudo.sh file from Dockerfiles and remove the file from workspace.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants