image_builder: fix autosizer awk

echo "2:48234496B:7516192767B:7467958272B:ext4::;" | awk -F: '{ print substr($2,0,length($2)-1) }'
Default awk in docker: 4823449
GNU Awk 4.1.3, API: 1.1 (GNU MPFR 3.1.4, GNU MP 6.1.0): 48234496
This commit is contained in:
Artem Smirnov
2018-08-22 22:46:47 +03:00
parent 59e6f33e9f
commit 3f53de0832

View File

@@ -7,7 +7,7 @@ ENV LANG 'C.UTF-8'
ENV LC_ALL 'C.UTF-8'
RUN apt-get update -qq > /dev/null
RUN apt-get install -y --no-install-recommends -qq bc jq unzip wget parted apt-utils git ca-certificates > /dev/null
RUN apt-get install -y --no-install-recommends -qq bc jq unzip wget parted apt-utils git ca-certificates gawk > /dev/null
RUN apt-get clean
COPY ./image_config.sh /builder/image_config.sh