Verified Commit 47eed25b authored by Peter Stanko's avatar Peter Stanko
Browse files

Alpine changed to Ubuntu

parent b8b29066
Loading
Loading
Loading
Loading
+16 −6
Original line number Diff line number Diff line
FROM alpine:latest
FROM ubuntu:latest

# Create kontr user
RUN adduser -D -g '' kontr
RUN groupadd -r kontr && useradd --no-log-init -r -g kontr kontr

LABEL maintainer="Peter Stanko (peter.stanko0@gmail.com)"
LABEL image="kontr2/testing-ktdk-runner"

RUN apk update && \
    apk add git ca-certificates clang valgrind \
    python3 python3-dev cmake make

RUN pip3 install --upgrade pip && pip3 install pipenv

RUN apt-get update && \
    apt-get install --no-install-recommends -y build-essential ca-certificates clang valgrind \
        cmake python3 python3-dev python3-pip locales time &&\
    apt-get autoremove -y && apt-get autoclean -y && \
    apt-get clean -y && rm -rf /var/lib/apt/lists/*

RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
    dpkg-reconfigure --frontend=noninteractive locales && \
    update-locale LANG=en_US.UTF-8

ENV LANG en_US.UTF-8 


RUN /usr/bin/env python3 -m pip install --upgrade pip && \
     /usr/bin/env python3 -m pip install pipenv



+1 −1
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ LABEL image="kontr2/testing-ktdk-runner"

RUN apk update && \
    apk add git ca-certificates clang valgrind \
    python3 python3-dev cmake make
    python3 python3-dev cmake make gcc alpine-sdk

RUN pip3 install --upgrade pip && pip3 install pipenv