File: Dockerfile

package info (click to toggle)
gsocket 1.4.43-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,224 kB
  • sloc: ansic: 14,009; sh: 3,629; makefile: 155
file content (16 lines) | stat: -rw-r--r-- 551 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM muslcc/x86_64:arm-linux-musleabi

ENV OPENSSL_VER=1.1.1k
ENV OPENSSL_ARCH=linux-generic32

WORKDIR /root/
RUN apk update \
	&& apk add --no-cache bash perl make curl && \
	rm -rf /var/cache/apk/* && \
	curl https://www.openssl.org/source/openssl-${OPENSSL_VER}.tar.gz \
	| tar -xzC /tmp/ && \
	cd /tmp/openssl-${OPENSSL_VER} && \
	./Configure --prefix=/root/usr no-tests no-dso no-threads no-shared ${OPENSSL_ARCH} && \
	make install_sw && \
	rm -rf rm -rf /tmp/openssl-${OPENSSL_VER} /root/usr/bin/openssl /root/usr/bin/c_rehash && \
	echo done