前提・実現したいこと
AWSのCodeBuildのローカル実行を行いたいです。
https://dev.classmethod.jp/cloud/aws/codebuild-local/
↑を参考に進めてみましたがdocker build
の部分でコケてしまいます。
対処法ご存知の方いらっしゃればご教授いただけると嬉しいです。
叩いたコマンド
git clone https://github.com/aws/aws-codebuild-docker-images.git cd aws-codebuild-docker-images/ubuntu/standard/2.0/ docker build -t aws/codebuild/standard:2.0 .
発生している問題・エラーメッセージ
W: http://61.26.74.210:80/data/0455271aa79446bd/archive.ubuntu.com/ubuntu/pool/universe/m/mono/libmono-system-xml4.0-cil_4.6.2.7+dfsg-1ubuntu1_all.deb: Automatically disabled Acquire::http::Pipeline-Depth due to incorrect response from server/proxy. (man 5 apt.conf) E: Failed to fetch http://61.26.74.210:80/data/0655d819f024e655/archive.ubuntu.com/ubuntu/pool/main/libt/libtool/libltdl-dev_2.4.6-2_amd64.deb File has unexpected size (161620 != 69144). Mirror sync in progress? [IP: 61.26.74.210 80] Hashes of expected file: - SHA256:bbab79802d2f06b02f32a10c68322494efcee292a19cd74fa00ab61c8f56481f - SHA1:1d0fa424f6765936efa54e8580e894d766574f4b [weak] - MD5Sum:a354d7525f3035aec5b4d340e32c11f9 [weak] - Filesize:69144 [weak] E: Failed to fetch http://61.26.74.210:80/pdata/0455fa19e0a0f6aa/archive.ubuntu.com/ubuntu/pool/main/libx/libxss/libxss1_1.2.2-1_amd64.deb File has unexpected size (8582 != 36120). Mirror sync in progress? [IP: 61.26.74.210 80] Hashes of expected file: - SHA256:823ae2f0bb194376463fdf35518effc4c20a38120ed4b55b0b49440ec22a4075 - SHA1:c4a70fb45d1acdd478113b390026ec5718821958 [weak] - MD5Sum:e45fdf6ee9df169ba8e3430ea4087b81 [weak] - Filesize:36120 [weak] E: Failed to fetch http://61.26.74.210:80/data/0455f2191ed9051a/archive.ubuntu.com/ubuntu/pool/main/libs/libsigsegv/libsigsegv2_2.12-1_amd64.deb File has unexpected size (14700 != 3264). Mirror sync in progress? [IP: 61.26.74.210 80] Hashes of expected file: - SHA256:4bfcae1dcb4c09213686fda8d341c736d925cd23e1bd6a4227b6ecbf6747ebf3 - SHA1:17275c8fa1e7cee9866094e7c33548e480d19686 [weak] - MD5Sum:0651fb0da06ee467e15908d1e6820f76 [weak] - Filesize:3264 [weak] E: Failed to fetch http://61.26.74.210:80/data/0455c719e1ff0b66/archive.ubuntu.com/ubuntu/pool/main/d/dh-python/dh-python_3.20180325ubuntu2_all.deb File has unexpected size (89244 != 42846). Mirror sync in progress? [IP: 61.26.74.210 80] Hashes of expected file: - SHA256:1f7ba68a45c34a9dff0e5b5b7278c4db146a075f29d53f967ba9500b7cbfa307 - SHA1:78288f2cf7bed42f161f7fb8092d3c1eede798a0 [weak] - MD5Sum:a69f4a8206e246ca9d3530811caa3fc9 [weak] - Filesize:42846 [weak] E: Failed to fetch http://61.26.74.210:80/data/0455b91aec195a19/archive.ubuntu.com/ubuntu/pool/main/f/fakeroot/libfakeroot_1.22-2ubuntu1_amd64.deb File has unexpected size (25940 != 137204). Mirror sync in progress? [IP: 61.26.74.210 80] Hashes of expected file: - SHA256:a99fbf740c8a91a0e34cbabadbf6bb011bf786c583ba3e5d603ab3dc9bf06c3b - SHA1:8db79206b6d893ba02d925684cab353fa8963667 [weak] - MD5Sum:881c391eb8b07e2fa8503087db50d3eb [weak] - Filesize:137204 [weak] E: Failed to fetch http://61.26.74.210:80/data/0455231a04434623/archive.ubuntu.com/ubuntu/pool/main/a/apr/libapr1_1.6.3-2_amd64.deb File has unexpected size (90904 != 45646). Mirror sync in progress? [IP: 61.26.74.210 80] Hashes of expected file: - SHA256:7da6b3fe4de02f50169923134b1e6c4cbf4ee693afa963d02d1eb8a0e3adb472 - SHA1:d03195dec7219ca7d3a9fbf712a8c92d0c2b7801 [weak] - MD5Sum:9a9c411594822e8c69d82d2d7aa97766 [weak] - Filesize:45646 [weak] E: Failed to fetch http://61.26.74.210:80/data/0455811ada549b67/archive.ubuntu.com/ubuntu/pool/main/libd/libdrm/libdrm-amdgpu1_2.4.95-1~18.04.1_amd64.deb File has unexpected size (17448 != 84388). Mirror sync in progress? [IP: 61.26.74.210 80] Hashes of expected file: - SHA256:5a5e6ebf5e49b19d17c9f3ac8eff51d71f392974063891af713f58bb4a239994 - SHA1:0a45c146a44cabd93f24f97c2ac478fefadaf2b8 [weak] - MD5Sum:125f0927c0524568c20ac8dd8feed9cd [weak] - Filesize:84388 [weak] 略 E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? The command '/bin/sh -c set -ex && echo 'Acquire::CompressionTypes::Order:: "gz";' > /etc/apt/apt.conf.d/99use-gzip-compression && apt-get update && apt install -y apt-transport-https && apt-get update && apt-get install software-properties-common -y --no-install-recommends && apt-add-repository ppa:git-core/ppa && apt-get update && apt-get install git=1:2.* -y --no-install-recommends && git version && apt-get update && apt-get install -y --no-install-recommends openssh-client && mkdir ~/.ssh && touch ~/.ssh/known_hosts && ssh-keyscan -t rsa,dsa -H github.com >> ~/.ssh/known_hosts && ssh-keyscan -t rsa,dsa -H bitbucket.org >> ~/.ssh/known_hosts && chmod 600 ~/.ssh/known_hosts && apt-get update && apt-get install -y --no-install-recommends wget python3 python3-dev python3-pip python3-setuptools fakeroot ca-certificates jq netbase gnupg dirmngr bzr mercurial procps tar gzip zip autoconf automake bzip2 file g++ gcc imagemagick libbz2-dev libc6-dev libcurl4-openssl-dev libdb-dev libevent-dev libffi-dev libgeoip-dev libglib2.0-dev libjpeg-dev libkrb5-dev liblzma-dev libmagickcore-dev libmagickwand-dev libmysqlclient-dev libncurses5-dev libpq-dev libreadline-dev libsqlite3-dev libssl-dev libtool libwebp-dev libxml2-dev libxslt1-dev libyaml-dev make patch xz-utils zlib1g-dev unzip curl e2fsprogs iptables xfsprogs mono-devel less groff liberror-perl asciidoc build-essential bzr cvs cvsps docbook-xml docbook-xsl dpkg-dev libdbd-sqlite3-perl libdbi-perl libdpkg-perl libhttp-date-perl libio-pty-perl libserf-1-1 libsvn-perl libsvn1 libtcl8.6 libtimedate-perl libxml2-utils libyaml-perl python-bzrlib python-configobj sgml-base sgml-data subversion tcl tcl8.6 xml-core xmlto xsltproc tk gettext gettext-base libapr1 libaprutil1 xvfb expect parallel locales rsync && apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF && echo "deb https://download.mono-project.com/repo/ubuntu stable-bionic main" | tee /etc/apt/sources.list.d/mono-official-stable.list && rm -rf /var/lib/apt/lists/* && apt-get clean' returned a non-zero code: 100
試したこと
Dockerfile
内のapt-get
のオプションに--fix-missing
付けて実行してみましたがUnable to fetch some〜
がAborting install.
に変わっただけでした。
よろしくお願いします。
あなたの回答
tips
プレビュー