Skip to content

Commit a6bd2ae

Browse files
authored
add .git directory and jq (#35)
1 parent 2b521a0 commit a6bd2ae

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.dockerignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
.vscode
2-
.git
32
.gitignore
43
build
54
Dockerfile

Dockerfile.debian_bullseye

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@ LABEL maintainer="[email protected]"
55
LABEL org.opencontainers.image.description="Kafka To Epics Gateway"
66

77
RUN apt update && \
8-
apt install -y libssl-dev libicu-dev
8+
apt install -y libssl-dev libicu-dev jq
99

1010
ADD https://github.com/GitTools/GitVersion/releases/download/$GITVERSION_VERSION/gitversion-linux-x64-$GITVERSION_VERSION.tar.gz /opt
1111
RUN cd /opt && tar zxvf gitversion-linux-x64-$GITVERSION_VERSION.tar.gz
1212
ENV PATH="${PATH}:/opt"
13+
COPY .git /opt/app/.git
1314
COPY src /opt/app/src
1415
COPY test /opt/app/test
1516
COPY tools /opt/app/tools

Dockerfile.ubuntu_kinetic

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@ LABEL org.opencontainers.image.description="Kafka To Epics Gateway"
66

77
ENV DEBIAN_FRONTEND=noninteractive
88
RUN apt update \
9-
&& apt install -y build-essential cmake git tclsh ninja-build libssl-dev curl libcurl4-openssl-dev libicu-dev
9+
&& apt install -y build-essential cmake git tclsh ninja-build libssl-dev curl libcurl4-openssl-dev libicu-dev jq
1010

1111
ADD https://github.com/GitTools/GitVersion/releases/download/$GITVERSION_VERSION/gitversion-linux-x64-$GITVERSION_VERSION.tar.gz /opt
1212
RUN cd /opt && tar zxvf gitversion-linux-x64-$GITVERSION_VERSION.tar.gz
1313
ENV PATH="${PATH}:/opt"
14+
COPY .git /opt/app/.git
1415
COPY src /opt/app/src
1516
COPY test /opt/app/test
1617
COPY tools /opt/app/tools

0 commit comments

Comments
 (0)