-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
36 lines (23 loc) · 828 Bytes
/
Dockerfile
File metadata and controls
36 lines (23 loc) · 828 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# SPDX-FileCopyrightText: 2026 Comcast Cable Communications Management, LLC
# SPDX-License-Identifier: Apache-2.0
FROM docker.io/library/golang:1.19-alpine as builder
WORKDIR /src
RUN apk add --no-cache --no-progress ca-certificates
COPY . .
##########################
# Build the final image.
##########################
FROM alpine:latest
# Copy over the standard things you'd expect.
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY splitter /
# Include compliance details about the container and what it contains.
COPY Dockerfile /
# COPY NOTICE /
# COPY LICENSE /
# Make the location for the configuration file that will be used.
RUN mkdir /etc/splitter/
#COPY .release/docker/config/config.yaml /etc/splitter/splitter.yaml
USER root
EXPOSE 6666
ENTRYPOINT ["/splitter"]