添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
  • Query id: f4a6bcd3-e231-4acf-993c-aa027be50d2e
  • Query name: RUN Instruction Using 'cd' Instead of WORKDIR
  • Platform: Dockerfile
  • Severity: Low
  • Category: Build Process
  • CWE: 710
  • URL: Github
  • Description

    When using RUN command 'cd' should only be used for full path. For relative path make use of WORKDIR command instead.
    Documentation

    Code samples

    Code samples with security vulnerabilities