Skip to content

Commit

Permalink
build: [NPM] update repo for ubuntu 20 (#2217)
Browse files Browse the repository at this point in the history
* build: from ubuntu 20 (just adding whitespace)

* build: update repo

---------

Signed-off-by: Hunter Gregory <42728408+huntergregory@users.noreply.github.com>
  • Loading branch information
huntergregory authored Oct 30, 2023
1 parent 22244c1 commit 2e1601a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion npm/linux.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ WORKDIR /usr/local/src
COPY . .
RUN CGO_ENABLED=0 go build -v -o /usr/local/bin/azure-npm -ldflags "-X main.version="$VERSION" -X "$NPM_AI_PATH"="$NPM_AI_ID"" -gcflags="-dwarflocationlists=true" npm/cmd/*.go

FROM mcr.microsoft.com/oss/mirror/docker.io/library/ubuntu:20.04
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
Expand Down

0 comments on commit 2e1601a

Please sign in to comment.