Fix bigtop/slaves-ubuntu-16.04-aarch64 build failure
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
-FROM aarch64/ubuntu:16.04
+FROM bigtop/puppet:ubuntu-16.04-aarch64
MAINTAINER Roman Shaposhnik <rvs@apache.org>
COPY bigtop_toolchain /etc/puppet/modules/bigtop_toolchain
-RUN /etc/puppet/modules/bigtop_toolchain/bin/puppetize.sh
-RUN puppet apply -e "include bigtop_toolchain::installer"
+RUN apt-get clean && apt-get update && puppet apply -e "include bigtop_toolchain::installer"
COPY . /tmp/bigtop
RUN cd /tmp/bigtop && ./gradlew && cd && rm -rf /tmp/bigtop
