Skip to content

Commit

Permalink
Merge pull request #12 from hugo-gomes/hugo/ubuntu_dev
Browse files Browse the repository at this point in the history
Fix several issues on ubuntu_dev builds
  • Loading branch information
joamag authored Oct 17, 2023
2 parents ae546a1 + 99c3d97 commit aad71e4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion ubuntu_dev/Dockerfile.bionic
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive

RUN apt-get update &&\
apt-get install -y -q --no-install-recommends sudo gcc make curl pypy linux-headers-generic\
libssl-dev python2-dev python3-dev pypy-dev &&\
libssl-dev python-dev python3-dev pypy-dev &&\
apt-get clean && rm -rf /var/lib/apt/lists/*

CMD ["/bin/bash"]
4 changes: 2 additions & 2 deletions ubuntu_dev/Dockerfile.rolling
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ LABEL maintainer="Hive Solutions <[email protected]>"
ARG DEBIAN_FRONTEND=noninteractive

RUN apt-get update &&\
apt-get install -y -q --no-install-recommends sudo gcc make curl pypy linux-headers-generic\
libssl-dev python3-dev pypy-dev &&\
apt-get install -y -q --no-install-recommends sudo gcc make curl pypy3 linux-headers-generic\
libssl-dev python3-dev pypy3-dev &&\
apt-get clean && rm -rf /var/lib/apt/lists/*

CMD ["/bin/bash"]
12 changes: 5 additions & 7 deletions ubuntu_dev/Dockerfile.xenial
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,11 @@ LABEL maintainer="Hive Solutions <[email protected]>"

ARG DEBIAN_FRONTEND=noninteractive

RUN echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet-release/ xenial main" > /etc/apt/sources.list.d/dotnetdev.list &&\
apt-key adv --keyserver apt-mo.trafficmanager.net --recv-keys 417A0893 &&\
apt-get update &&\
apt-get install -y -q --no-install-recommends sudo gcc make curl pypy dotnet-dev-1.0.0 linux-headers-generic\
RUN apt-get update &&\
apt-get install -y -q --no-install-recommends apt-transport-https sudo gcc make curl pypy dotnet-dev-1.0.0 linux-headers-generic\
libssl-dev python2-dev python3-dev pypy-dev &&\
apt-get clean && rm -rf /var/lib/apt/lists/* &&\
wget https://raw.githubusercontent.com/dotnet/core/master/release-notes/1.0/install-1.0.1.sh &&\
chmod +x install-1.0.1.sh && (echo "y" | bash install-1.0.1.sh) && rm install-1.0.1.sh
wget https://packages.microsoft.com/config/ubuntu/16.04/packages-microsoft-prod.deb -O /tmp/packages-microsoft-prod.deb &&\
dpkg -i /tmp/packages-microsoft-prod.deb && apt update && apt-get install dotnet-runtime-6.0 aspnetcore-runtime-6.0 &&\
rm -f /tmp/packages-microsoft-prod.deb && apt-get clean && rm -rf /var/lib/apt/lists/*

CMD ["/bin/bash"]

0 comments on commit aad71e4

Please sign in to comment.