Skip to content

PRODENG-2480 remove docker lib/run folders#403

Closed
james-nesbitt wants to merge 1 commit into
Mirantis:masterfrom
james-nesbitt:PRODENG-2480-reset-remove-docker-folders
Closed

PRODENG-2480 remove docker lib/run folders#403
james-nesbitt wants to merge 1 commit into
Mirantis:masterfrom
james-nesbitt:PRODENG-2480-reset-remove-docker-folders

Conversation

@james-nesbitt
Copy link
Copy Markdown
Collaborator

  • new docker info function to detect folders
  • new linux function for removing lib/run folders (default or found)
  • run new linux remove function in various linux configurer uninstall MCR functions

- new docker info function to detect folders
- new linux function for removing lib/run folders (default or found)
- run new linux remove function in various linux configurer uninstall
  MCR functions

Signed-off-by: James Nesbitt <jnesbitt@mirantis.com>
@james-nesbitt james-nesbitt marked this pull request as draft January 18, 2024 10:35
@james-nesbitt
Copy link
Copy Markdown
Collaborator Author

james-nesbitt commented Jan 18, 2024

I don't think that this is a good approach:

  1. I don't like how I had to use rig os.Hosts in the docker.Info() function, when the other function in that module uses mke.api.Hosts instead. It feels like it is counter the design.
  2. I did not finish the folder remove function, 'cause of 1.

Comment thread Makefile
endif
GOOS ?= ${uname_s}
BUILDER_IMAGE = launchpad-builder
GO = docker run --rm -v "$(CURDIR)":/go/src/github.com/Mirantis/mcc \
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

this rewires the GO flag so that you can use a local GOLANG and avoid some of the poor impacts of building in a docker image locally.

@james-nesbitt
Copy link
Copy Markdown
Collaborator Author

replaced by #404

@james-nesbitt james-nesbitt deleted the PRODENG-2480-reset-remove-docker-folders branch November 12, 2024 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant