[
https://issues.apache.org/jira/browse/THRIFT-3474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15076618#comment-15076618
]
ASF GitHub Bot commented on THRIFT-3474:
----------------------------------------
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 ?
> Docker: thrift-compiler
> -----------------------
>
> Key: THRIFT-3474
> URL: https://issues.apache.org/jira/browse/THRIFT-3474
> Project: Thrift
> Issue Type: Bug
> Components: Compiler (General), Deployment
> Reporter: Roger Meier
> Assignee: Roger Meier
>
> I made a Dockerfile and .dockerignore for this
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)