File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 11ARG  ALPINE_VERSION=latest
22ARG  BINFMT_IMAGE=tonistiigi/binfmt:latest
33
4- FROM  ${BINFMT_IMAGE} as  binfmt
4+ FROM  ${BINFMT_IMAGE} AS  binfmt
55
66FROM  alpine:${ALPINE_VERSION}
77RUN  apk add alpine-sdk build-base apk-tools alpine-conf busybox \
Original file line number Diff line number Diff line change 4848mkdir -p " $tmp "  /etc/apk
4949makefile root:root 0644 " $tmp "  /etc/apk/world << EOF 
5050alpine-base 
51+ iproute2 
5152openssh-server-pam 
5253EOF 
5354
@@ -208,6 +209,10 @@ if [ "${LIMA_INSTALL_GIT}" == "true" ]; then
208209    echo  " git"   >>  " $tmp "  /etc/apk/world
209210fi 
210211
212+ if  [ " ${LIMA_INSTALL_IPTABLES} "   ==  " true"   ];  then 
213+     echo  " iptables ip6tables"   >>  " $tmp "  /etc/apk/world
214+ fi 
215+ 
211216if  [ " ${LIMA_INSTALL_K3S} "   ==  " true"   ];  then 
212217    echo  " k3s"   >>  " $tmp "  /etc/apk/world
213218    rc_add k3s default
@@ -217,10 +222,6 @@ if [ "${LIMA_INSTALL_LOGROTATE}" == "true" ]; then
217222    echo  " logrotate"   >>  " $tmp "  /etc/apk/world
218223fi 
219224
220- if  [ " ${LIMA_INSTALL_IPTABLES} "   ==  " true"   ];  then 
221-     echo  " iptables ip6tables"   >>  " $tmp "  /etc/apk/world
222- fi 
223- 
224225if  [ " ${LIMA_INSTALL_OPENSSH_SFTP_SERVER} "   ==  " true"   ];  then 
225226    echo  " openssh-sftp-server"   >>  " $tmp "  /etc/apk/world
226227fi 
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ profile_lima() {
1313	kernel_cmdline=" console=hvc0 console=tty0 console=ttyS0,115200" 
1414	syslinux_serial=" 0 115200" 
1515	apkovl=" genapkovl-lima.sh" 
16- 	apks=" $apks  openssh-server-pam tiny-cloud-nocloud" 
16+ 	apks=" $apks  iproute2  openssh-server-pam tiny-cloud-nocloud" 
1717        if  [ " ${LIMA_INSTALL_CA_CERTIFICATES} "   ==  " true"   ];  then 
1818            apks=" $apks  ca-certificates" 
1919        fi 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments