Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the README to include a tip for reducing Docker image sizes #144

Open
trajano opened this issue May 1, 2020 · 0 comments
Open

Update the README to include a tip for reducing Docker image sizes #144

trajano opened this issue May 1, 2020 · 0 comments

Comments

@trajano
Copy link

trajano commented May 1, 2020

For CI environments that build Docker images from Maven configure a profile like this so that it will download the noarch libraries and just the Linux image.

		<profile>
			<id>unix</id>
			<activation>
				<os>
					<family>unix</family>
					<name>Linux</name>
				</os>
			</activation>
			<dependencies>
				<dependency>
					<groupId>io.humble</groupId>
					<artifactId>humble-video-noarch</artifactId>
					<version>0.3.0</version>
				</dependency>
				<dependency>
					<groupId>io.humble</groupId>
					<artifactId>humble-video-arch-x86_64-pc-linux-gnu6-debug</artifactId>
					<version>0.3.0</version>
  				</dependency>
			</dependencies>
		</profile>
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

No branches or pull requests

1 participant