summaryrefslogtreecommitdiffstats
path: root/sidecar/tproxy-config/src/main
diff options
context:
space:
mode:
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"]