Same Alias In Different Froms
- Query id: f2daed12-c802-49cd-afed-fe41d0b82fed
- Query name: Same Alias In Different Froms
- Platform: Dockerfile
- Severity: High
- Category: Build Process
- URL: Github
Description¶
Different FROMS cant have the same alias defined
Documentation
Code samples¶
Code samples with security vulnerabilities¶
Positive test num. 1 - dockerfile file
FROM baseImage
RUN Test
FROM debian:jesse2 as build
RUN stuff
FROM debian:jesse1 as build
RUN more_stuff