forked from sw360/sw360portal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sw360dev.Dockerfile
32 lines (29 loc) · 1.35 KB
/
sw360dev.Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright (c) Bosch Software Innovations GmbH 2016.
# Part of the SW360 Portal Project.
#
# SPDX-License-Identifier: EPL-1.0
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
FROM maven:3.5.0-jdk-8-alpine
MAINTAINER Maximilian Huber <[email protected]>
RUN set -x \
&& apk --update add su-exec git \
wget g++ make apache-ant libtool automake autoconf bison flex \
&& rm -rf /var/cache/apk/* \
&& cd /tmp \
&& wget -q 'https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=snapshot;h=refs/heads/0.9.3;sf=tgz' -O thrift.tar.gz \
&& tar xzf thrift.tar.gz && rm thrift.tar.gz && cd thrift* \
&& ./bootstrap.sh \
&& ./configure --prefix=/usr \
--with-java \
--without-cpp --without-qt4 --without-c_glib --without-csharp --without-erlang --without-perl --without-php \
--without-php_extension --without-python --without-ruby --without-haskell --without-go --without-d \
--without-haskell --without-php --without-ruby --without-python --without-erlang --without-perl \
--without-c_sharp --without-d --without-php --without-go --without-lua --without-nodejs \
&& make \
&& make install \
&& rm -rf /tmp/thrift*
CMD /bin/bash