Github user nsuke commented on the pull request:
https://github.com/apache/thrift/pull/733#issuecomment-168412725
A common technique is to call apt-get purge -y --auto-remove ... in one
step.
It is often seen with a temporary variable like this:
RUN buildDeps=" \
flex \
... \
"; \
&& apt-get install -y --no-install-recommends $buildDeps
&& ...build and other cleanups
&& apt-get purge -y $buildDeps
@JensG We also need to install Go to use `-gen go` (because it uses
`gofmt`), right ?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---