rcssserver | The RoboCup Soccer Simulator Server
kandi X-RAY | rcssserver Summary
kandi X-RAY | rcssserver Summary
The RoboCup Soccer Simulator Server
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of rcssserver
rcssserver Key Features
rcssserver Examples and Code Snippets
Community Discussions
Trending Discussions on rcssserver
QUESTION
I am trying to rewrite a Dockerfile (https://github.com/orangefoil/rcssserver-docker/blob/master/Dockerfile) so that it uses alpine instead of ubuntu. Goal is to reduce the file size.
In the original image the robocup soccer server is built from scratch using g++, flex, bison, etc.
...ANSWER
Answered 2020-Nov-17 at 01:54You should break this up using a multi-stage build. In the image you're building now, the final image contains the C toolchain and all of the development libraries and headers that those -dev
packages install; you don't need any of those to actually run the built application. The basic idea is to build the application exactly as you have it now, but then COPY
only the built application into a new image with fewer dependencies.
This would look something like this (untested):
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install rcssserver
g++
make
boost
bison
flex
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page