1"use strict";(globalThis.webpackChunksre_learning_platform=globalThis.webpackChunksre_learning_platform||[]).push([[4552],{6620:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>o,contentTitle:()=>c,default:()=>x,frontMatter:()=>i,metadata:()=>n,toc:()=>d});const n=JSON.parse('{"id":"CKS/Labs/19","title":"19 - Fix Dockerfile","description":"| 19 | Fix Dockerfile |","source":"@site/docs/CKS/Labs/19.md","sourceDirName":"CKS/Labs","slug":"/CKS/Labs/19","permalink":"/docs/CKS/Labs/19","draft":false,"unlisted":false,"editUrl":null,"tags":[],"version":"current","frontMatter":{"custom_edit_url":null},"sidebar":"tutorialSidebar","previous":{"title":"17 - Enable audit log","permalink":"/docs/CKS/Labs/17"},"next":{"title":"20 - Update Kubernetes cluster","permalink":"/docs/CKS/Labs/20"}}');var s=r(4848),l=r(8453);const i={custom_edit_url:null},c="19 - Fix Dockerfile",o={},d=[];function a(e){const t={code:"code",h1:"h1",header:"header",hr:"hr",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,l.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.header,{children:(0,s.jsx)(t.h1,{id:"19---fix-dockerfile",children:"19 - Fix Dockerfile"})}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{style:{textAlign:"center"},children:(0,s.jsx)(t.strong,{children:"19"})}),(0,s.jsx)(t.th,{style:{textAlign:"left"},children:(0,s.jsx)(t.strong,{children:"Fix Dockerfile"})})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:"Task weight"}),(0,s.jsx)(t.td,{style:{textAlign:"left"},children:"4%"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:"Cluster"}),(0,s.jsx)(t.td,{style:{textAlign:"left"},children:"any"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:"Acceptance criteria"}),(0,s.jsxs)(t.td,{style:{textAlign:"left"},children:["fix Dockerfile ",(0,s.jsx)(t.code,{children:"/var/work/14/Dockerfile"}),":",(0,s.jsx)("br",{}),"\xa0\xa0- use FROM image ",(0,s.jsx)(t.code,{children:"20.04"})," version",(0,s.jsx)("br",{}),"\xa0\xa0- use ",(0,s.jsx)(t.code,{children:"myuser"})," for running app",(0,s.jsx)("br",{}),"\xa0\xa0- build image ",(0,s.jsx)(t.code,{children:"cks:14"})," (podman installed on worker pc)"]})]})]})]}),"\n",(0,s.jsx)(t.hr,{})]})}function x(e={}){const{wrapper:t}={...(0,l.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(a,{...e})}):a(e)}},8453:(e,t,r)=>{r.d(t,{R:()=>i,x:()=>c});var n=r(6540);const s={},l=n.createContext(s);function i(e){const t=n.useContext(l);return n.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),n.createElement(l.Provider,{value:t},e.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.