Skip to content

Commit 5670d13

Browse files
committed
Update container build
1 parent 5037f42 commit 5670d13

File tree

3 files changed

+1
-9
lines changed

3 files changed

+1
-9
lines changed

docker-compose.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ services:
1717
depends_on: [ mongodb ]
1818
image: ${REGISTRY:-}todo
1919
build:
20-
dockerfile: native.dockerfile
20+
dockerfile: jpackage.dockerfile
2121
environment:
2222
GLOBAL_LOG_LEVEL: warn
2323
APPLICATION_LOG_LEVEL: info

jpackage.dockerfile

-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11

22
FROM ubuntu:jammy
3-
4-
# Project setup
53
ARG PROJECT
64
ARG TZ=UTC
75

8-
VOLUME /var/log
9-
106
# Machine setup
117
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
128

native.dockerfile

-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11

22
FROM ubuntu:jammy
3-
4-
# Project setup
53
ARG PROJECT
64

7-
VOLUME /var/log
8-
95
# Project install
106
USER 1000
117
ADD --chown=1000:1000 build/native/nativeCompile/$PROJECT /

0 commit comments

Comments
 (0)