-  Couldn't load subscription status. 
- Fork 259
Mereta/fix iptables legacy with ubuntu2404 #3789
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
   Closed  
     Closed  
 Changes from all commits
 Commits 
  Show all changes 
  8 commits   Select commit Hold shift + click to select a range 
 478813b  fix: [NPM] [Backport] Update Ubuntu Base Image to 24.04 (#3743) 
  rayaisaiah 273a2fe  [Service Tags] ci: Backport service/virtual tag updates to release/v1… 
  k-routhu dda6b0c  [NPM] [CVE] Resolve CVE-2025-6020 (#3763) 
  rayaisaiah 1ba39f7  [NPM] [Vulnerability] Resolve ghsa-fv92-fjc5-jj9h Vulnerability (#3767) 
  rayaisaiah 58277d4  added legacy 
  rayaisaiah 14b0315  typo 
  rayaisaiah 38ff048  updated tests 
  rayaisaiah 59f1f4d  updated for all tests 
  rayaisaiah File filter
Filter by extension
Conversations
 Failed to load comments.  
    Loading  
 Jump to
  Jump to file  
  Failed to load files.  
    Loading  
 Diff view
Diff view
There are no files selected for viewing
   This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters   
        This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters   
        This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters   
        This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters   
     | Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|  | @@ -6,8 +6,8 @@ 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/mirror/docker/library/ubuntu:20.04 as linux | ||||||||||||||||||||||||||||
| FROM mcr.microsoft.com/mirror/docker/library/ubuntu:24.04 as linux | ||||||||||||||||||||||||||||
| COPY --from=builder /usr/local/bin/azure-npm /usr/bin/azure-npm | ||||||||||||||||||||||||||||
| RUN apt-get update && apt-get install -y iptables ipset ca-certificates && apt-get autoremove -y && apt-get clean | ||||||||||||||||||||||||||||
| RUN apt-get update && apt-get install -y libsystemd0=255.4-1ubuntu8.8 libudev1=255.4-1ubuntu8.8 libpam-modules=1.5.3-5ubuntu5.4 libpam-modules-bin=1.5.3-5ubuntu5.4 libpam-runtime=1.5.3-5ubuntu5.4 libpam0g=1.5.3-5ubuntu5.4 iptables ipset ca-certificates && apt-get autoremove -y && apt-get clean | ||||||||||||||||||||||||||||
|   | ||||||||||||||||||||||||||||
| RUN apt-get update && apt-get install -y libsystemd0=255.4-1ubuntu8.8 libudev1=255.4-1ubuntu8.8 libpam-modules=1.5.3-5ubuntu5.4 libpam-modules-bin=1.5.3-5ubuntu5.4 libpam-runtime=1.5.3-5ubuntu5.4 libpam0g=1.5.3-5ubuntu5.4 iptables ipset ca-certificates && apt-get autoremove -y && apt-get clean | |
| RUN apt-get update && apt-get install -y \ | |
| libsystemd0=255.4-1ubuntu8.8 \ | |
| libudev1=255.4-1ubuntu8.8 \ | |
| libpam-modules=1.5.3-5ubuntu5.4 \ | |
| libpam-modules-bin=1.5.3-5ubuntu5.4 \ | |
| libpam-runtime=1.5.3-5ubuntu5.4 \ | |
| libpam0g=1.5.3-5ubuntu5.4 \ | |
| iptables \ | |
| ipset \ | |
| ca-certificates && \ | |
| apt-get autoremove -y && \ | |
| apt-get clean | 
   This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters   
       Oops, something went wrong.  
   Oops, something went wrong.  
  Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.    
 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change from '/DelegatedNetworkControllerTest' to '/NonProd' appears unrelated to the main iptables fix. This configuration change should be documented or moved to a separate commit.