Skip to content

Commit 14ba184

Browse files
authored
Merge pull request #328 from eigr/feat/fix-some-security-issues
Feat/fix some security issues
2 parents 0e70798 + 109340f commit 14ba184

File tree

4 files changed

+11
-8
lines changed

4 files changed

+11
-8
lines changed

Dockerfile-initializer

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ RUN mix deps.get \
2727
&& mix release spawn_initializer
2828

2929
# ---- Application Stage ----
30-
FROM alpine:3.17.3
30+
FROM alpine:3.19.1
3131

32-
RUN apk add --no-cache --update zstd ncurses-libs libstdc++ libgcc libcrypto1.1
32+
RUN apk add --no-cache --update zstd ncurses-libs libstdc++ libgcc
3333

3434
WORKDIR /app
3535
RUN chown nobody /app

Dockerfile-operator

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ RUN cd spawn_operator/spawn_operator \
3838
&& mix release spawn_operator
3939

4040
# ---- Application Stage ----
41-
FROM alpine:3.17.3
41+
FROM alpine:3.19.1
4242

43-
RUN apk add --no-cache --update zstd ncurses-libs libstdc++ libgcc libcrypto1.1
43+
RUN apk add --no-cache --update zstd ncurses-libs libstdc++ libgcc
4444

4545
WORKDIR /app
4646
RUN chown nobody /app

Dockerfile-proxy

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ RUN cd spawn_proxy/proxy \
3838
&& mix release proxy
3939

4040
# ---- Application Stage ----
41-
FROM alpine:3.17.3
41+
FROM alpine:3.19.1
4242

43-
RUN apk add --no-cache --update zstd ncurses-libs libstdc++ libgcc libcrypto1.1
43+
RUN apk add --no-cache --update zstd ncurses-libs libstdc++ libgcc
4444

4545
WORKDIR /app
4646
RUN chown nobody /app

Makefile

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version=1.3.2
1+
version=1.3.3
22
registry=eigr
33

44
CLUSTER_NAME=spawn-k8s
@@ -48,7 +48,7 @@ build-activator-simple-image:
4848
docker build --no-cache -f Dockerfile-activator-simple -t ${activator-simple-image} .
4949

5050
build-all-images:
51-
docker build --no-cache -f Dockerfile-proxy -t ${proxy-image} .
51+
#docker build --no-cache -f Dockerfile-proxy -t ${proxy-image} .
5252
docker build --no-cache -f Dockerfile-initializer -t ${proxy-initializer} .
5353
docker build --no-cache -f Dockerfile-operator -t ${operator-image} .
5454
#docker build --no-cache -f Dockerfile-activator-api -t ${activator-api-image} .
@@ -215,3 +215,6 @@ run-proxy-image:
215215

216216
run-operator-image:
217217
docker run --rm --name=spawn-operator --net=host ${operator-image}
218+
219+
run-initializer-image:
220+
docker run --rm --name=spawn-operator --net=host ${proxy-initializer}

0 commit comments

Comments
 (0)