File tree 2 files changed +4
-6
lines changed
2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 1
- docker/Dockerfile.centos
1
+ docker/Dockerfile.alpine
Original file line number Diff line number Diff line change 1
1
FROM alpine:3.11 as build
2
2
3
- RUN apk add --no-cache gcc g++ musl-dev linux-headers cmake openssl -dev
3
+ RUN apk add --no-cache gcc g++ musl-dev linux-headers cmake mbedtls -dev
4
4
RUN apk add --no-cache make
5
5
RUN apk add --no-cache zlib-dev
6
6
@@ -14,14 +14,12 @@ COPY --chown=app:app . /opt
14
14
WORKDIR /opt
15
15
16
16
USER app
17
- RUN [ "make", "ws_install " ]
17
+ RUN [ "make", "ws_mbedtls_install " ]
18
18
RUN [ "rm", "-rf", "build" ]
19
19
20
20
FROM alpine:3.11 as runtime
21
21
22
- RUN apk add --no-cache libstdc++
23
- RUN apk add --no-cache strace
24
- RUN apk add --no-cache gdb
22
+ RUN apk add --no-cache libstdc++ mbedtls
25
23
26
24
RUN addgroup -S app && adduser -S -G app app
27
25
COPY --chown=app:app --from=build /usr/local/bin/ws /usr/local/bin/ws
You can’t perform that action at this time.
0 commit comments