Skip to content

Commit

Permalink
chore: [NPM] Remove TLS Certifications in NPM (#2561)
Browse files Browse the repository at this point in the history
Remove certs created in npm images
  • Loading branch information
rayaisaiah authored Feb 7, 2024
1 parent 5171d7e commit ea7e733
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 68 deletions.
6 changes: 0 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,6 @@ controller-gen
build/tools/bin
npm/debug/http

# certificates
*/**/certs/
*.crt
*.pem
*.srl

go.work*

# scale-test
Expand Down
3 changes: 0 additions & 3 deletions npm/linux.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ RUN CGO_ENABLED=0 go build -v -o /usr/local/bin/azure-npm -ldflags "-X main.vers

FROM mcr.microsoft.com/mirror/docker/library/ubuntu:20.04
COPY --from=builder /usr/local/bin/azure-npm /usr/bin/azure-npm
COPY --from=builder /usr/local/src/npm/scripts /usr/local/npm
RUN apt-get update && apt-get install -y iptables ipset ca-certificates && apt-get autoremove -y && apt-get clean
RUN chmod +x /usr/bin/azure-npm
WORKDIR /usr/local/npm
RUN ./generate_certs.sh
ENTRYPOINT ["/usr/bin/azure-npm", "start"]
38 changes: 0 additions & 38 deletions npm/scripts/generate_certs.sh

This file was deleted.

21 changes: 0 additions & 21 deletions npm/scripts/san.cnf

This file was deleted.

0 comments on commit ea7e733

Please sign in to comment.