Skip to content

Commit b61c4c5

Browse files
author
Tristan Stevens
committed
Draft docker
1 parent 275338b commit b61c4c5

2 files changed

Lines changed: 35 additions & 2 deletions

File tree

Dockerfile

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
#
18+
19+
ARG IMAGE_NAME=adoptopenjdk/openjdk8
20+
ARG IMAGE_TAG=centos-jre
21+
FROM ${IMAGE_NAME}:${IMAGE_TAG}
22+
ARG MAINTAINER="Apache Flume <dev@flume.apache.org>"
23+
LABEL maintainer="${MAINTAINER}"
24+
LABEL site="http://flume.apache.org"
25+
26+
COPY flume-ng-dist/target/apache-flume-1.10.0-SNAPSHOT-bin/apache-flume-1.10.0-SNAPSHOT-bin/ /etc/flume/
27+
28+
RUN groupadd --system flume && useradd --system --shell /bin/false -g flume flume
29+
30+
WORKDIR /etc/flume
31+
RUN chown -R flume:flume /etc/flume
32+
USER flume
33+
ENTRYPOINT ["/etc/flume/bin/flume-ng"]

flume-ng-sources/flume-scribe-source/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ limitations under the License.
114114
<artifactId>maven-compiler-plugin</artifactId>
115115
<version>${mvn-compiler-plugin.version}</version>
116116
<configuration>
117-
<source>1.6</source>
118-
<target>1.6</target>
117+
<source>1.7</source>
118+
<target>1.7</target>
119119
<excludes>
120120
<exclude>**/generated-sources/**</exclude>
121121
</excludes>

0 commit comments

Comments
 (0)