Skip to content

Commit 4d8a154

Browse files
author
ffffwh
committed
update version to 2.19.03.0
1 parent 838d084 commit 4d8a154

File tree

2 files changed

+42
-42
lines changed

2 files changed

+42
-42
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ DOCKER := $(shell which docker)
66
DOCKER_IMAGE := docker-registry:5000/actiontech/universe-compiler-udup:v3
77

88
PROJECT_NAME = dtle
9-
VERSION = 9.9.9.9
9+
VERSION = 2.19.03.0
1010

1111
ifdef GOBIN
1212
PATH := $(GOBIN):$(PATH)

docker-images/example/Dockerfile

+41-41
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,41 @@
1-
From centos:centos7
2-
3-
#
4-
# Set the version, home directory.
5-
#
6-
ENV DTLE_VERSION=9.9.9.9 \
7-
DTLE_HOME=/dtle
8-
9-
#
10-
# Create a user and home directory for Dtle
11-
#
12-
USER root
13-
RUN groupadd -r dtle -g 1001 && useradd -u 1001 -r -g dtle -m -d $DTLE_HOME -s /sbin/nologin -c "Dtle user" dtle && \
14-
chmod 755 $DTLE_HOME
15-
16-
#
17-
# Download Dtle and Install
18-
#
19-
RUN curl -fSL -O -u ftp:ftp ftp://10.186.18.20/actiontech-dtle/qa/$DTLE_VERSION/dtle-$DTLE_VERSION-qa.x86_64.rpm && \
20-
rpm -ivh dtle-$DTLE_VERSION-qa.x86_64.rpm && \
21-
rm dtle-$DTLE_VERSION-qa.x86_64.rpm
22-
23-
#
24-
# Change ownership and switch use\
25-
#
26-
RUN chown -R dtle $DTLE_HOME && \
27-
chgrp -R dtle $DTLE_HOME
28-
USER dtle
29-
30-
# Set the working directory to the Dtle home directory
31-
WORKDIR $DTLE_HOME
32-
33-
#
34-
# Expose the ports and set up volumes for the data and logs directories
35-
#
36-
EXPOSE 8190
37-
VOLUME ["/dtle"]
38-
39-
COPY ./dtle.conf /etc/dtle/
40-
41-
CMD ["/usr/bin/dtle", "server", "--config", "/etc/dtle/dtle.conf"]
1+
From centos:centos7
2+
3+
#
4+
# Set the version, home directory.
5+
#
6+
ENV DTLE_VERSION=2.19.03.0 \
7+
DTLE_HOME=/dtle
8+
9+
#
10+
# Create a user and home directory for Dtle
11+
#
12+
USER root
13+
RUN groupadd -r dtle -g 1001 && useradd -u 1001 -r -g dtle -m -d $DTLE_HOME -s /sbin/nologin -c "Dtle user" dtle && \
14+
chmod 755 $DTLE_HOME
15+
16+
#
17+
# Download Dtle and Install
18+
#
19+
RUN curl -fSL -O -u ftp:ftp ftp://10.186.18.20/actiontech-dtle/qa/$DTLE_VERSION/dtle-$DTLE_VERSION-qa.x86_64.rpm && \
20+
rpm -ivh dtle-$DTLE_VERSION-qa.x86_64.rpm && \
21+
rm dtle-$DTLE_VERSION-qa.x86_64.rpm
22+
23+
#
24+
# Change ownership and switch use\
25+
#
26+
RUN chown -R dtle $DTLE_HOME && \
27+
chgrp -R dtle $DTLE_HOME
28+
USER dtle
29+
30+
# Set the working directory to the Dtle home directory
31+
WORKDIR $DTLE_HOME
32+
33+
#
34+
# Expose the ports and set up volumes for the data and logs directories
35+
#
36+
EXPOSE 8190
37+
VOLUME ["/dtle"]
38+
39+
COPY ./dtle.conf /etc/dtle/
40+
41+
CMD ["/usr/bin/dtle", "server", "--config", "/etc/dtle/dtle.conf"]

0 commit comments

Comments
 (0)