We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e114c5 commit bff9f21Copy full SHA for bff9f21
dockerfile
@@ -0,0 +1,36 @@
1
+FROM alpine:3.20 AS builder
2
+
3
+# Build dependencies
4
+RUN apk add --no-cache \
5
+ build-base \
6
+ git \
7
+ openssl-dev \
8
+ pcsc-lite-dev \
9
+ libusb-dev \
10
+ linux-headers \
11
+ curl
12
13
+# Download OSCam source
14
+WORKDIR /src
15
+RUN git clone https://github.com/oscam/oscam.git .
16
17
+# Build OSCam with IPv6 support
18
+RUN make USE_IPV6=1
19
20
+# Runtime image
21
+FROM alpine:3.20
22
23
24
+ openssl \
25
+ pcsc-lite \
26
+ libusb
27
28
+COPY --from=builder /src/Distribution/oscam /usr/local/bin/oscam
29
30
+# Create config directory
31
+RUN mkdir -p /config
32
+VOLUME /config
33
34
+EXPOSE 8888
35
36
+CMD ["/usr/local/bin/oscam", "-c", "/config"]
0 commit comments