summaryrefslogtreecommitdiffstats
path: root/sidecar/tproxy-config/src/main
diff options
context:
space:
mode:
authorSimon Hrabos <simon.hrabos@tieto.com>2019-09-20 15:19:24 +0200
committerSimon Hrabos <simon.hrabos@tieto.com>2019-09-24 10:00:35 +0200
commit25c0056a7846168dbc5cc86615039ad8d1e9a35d (patch)
tree77f0e14a4d5c240a860dd9a7e1499e59341305e6 /sidecar/tproxy-config/src/main
parentc932b38f09dd98b8f93d6b0dfac0d556e0126138 (diff)
small, multi-platform (amd64, arm64) images
Modify fproxy, rproxy and tproxy-config docker container image due to arm64 compatibility Issue-ID: INT-1174 Issue-ID: INT-1175 Issue-ID: INT-1176 Signed-off-by: Simon Hrabos <simon.hrabos@tieto.com> Change-Id: Ibbf9e1d15bea9ebb1b82ff50c8671927c68be2ed
Diffstat (limited to 'sidecar/tproxy-config/src/main')
-rw-r--r--sidecar/tproxy-config/src/main/assembly/descriptor.xml18
-rw-r--r--sidecar/tproxy-config/src/main/docker/Dockerfile2
2 files changed, 19 insertions, 1 deletions
diff --git a/sidecar/tproxy-config/src/main/assembly/descriptor.xml b/sidecar/tproxy-config/src/main/assembly/descriptor.xml
new file mode 100644
index 0000000..b53f64e
--- /dev/null
+++ b/sidecar/tproxy-config/src/main/assembly/descriptor.xml
@@ -0,0 +1,18 @@
+<assembly xmlns="http_://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
+ xmlns:xsi="http_://www.__w3.org/2001/XMLSchema-instance"
+ xsi:SchemaLocation="http_://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http_://maven.apache.org/xsd/assembly-1.1.2.xsd">
+ <id>build</id>
+ <includeBaseDirectory>false</includeBaseDirectory>
+ <formats>
+ <format>dir</format>
+ </formats>
+ <fileSets>
+ <fileSet>
+ <directory>${project.basedir}/src/main/bin</directory>
+ <outputDirectory>/</outputDirectory>
+ <includes>
+ <include>**/*</include>
+ </includes>
+ </fileSet>
+ </fileSets>
+</assembly>
diff --git a/sidecar/tproxy-config/src/main/docker/Dockerfile b/sidecar/tproxy-config/src/main/docker/Dockerfile
index b95cf74..4851a20 100644
--- a/sidecar/tproxy-config/src/main/docker/Dockerfile
+++ b/sidecar/tproxy-config/src/main/docker/Dockerfile
@@ -1,6 +1,6 @@
FROM alpine:3.6
RUN apk add --update iptables curl bash
-COPY start.sh /start.sh
+COPY maven/tproxy-config/start.sh /start.sh
RUN chmod 755 /start.sh
#CMD start.sh
ENTRYPOINT ["/start.sh"]