Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade linux docker image for ShapeWorks 6.5 to Ubuntu 18 #2031

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions .github/workflows/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Based on old ubuntu to create more compatible binaries

# To build (e.g. for ShapeWorks 6.4):
# docker build --progress=plain -t akenmorris/ubuntu-build-box-sw64 .
# To build (e.g. for ShapeWorks 6.5):
# docker build --progress=plain -t akenmorris/ubuntu-build-box-sw65 .
# To publish:
# docker push akenmorris/ubuntu-build-box-sw64
# docker push akenmorris/ubuntu-build-box-sw65

FROM ubuntu:xenial-20210429 AS env
FROM ubuntu:bionic-20230308 AS env
MAINTAINER akenmorris@gmail.com

# Set environment variables
Expand All @@ -15,10 +15,6 @@ ENV LDFLAGS=-L/opt/conda/lib
# Update
RUN apt-get update -y && apt-get upgrade -y && apt-get dist-upgrade -y && apt-get install build-essential software-properties-common -y && add-apt-repository ppa:ubuntu-toolchain-r/test -y && apt-get update -y

# Install GCC 9
RUN apt-get install gcc-9 g++-9 -y
RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-9 && update-alternatives --config gcc

# Install git and git-lfs
RUN add-apt-repository ppa:git-core/ppa
RUN apt-get update
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-linux-debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
build:

runs-on: ubuntu-latest
container: akenmorris/ubuntu-build-box-sw64
container: akenmorris/ubuntu-build-box-sw65

steps:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
build:

runs-on: ubuntu-latest
container: akenmorris/ubuntu-build-box-sw64
container: akenmorris/ubuntu-build-box-sw65

steps:

Expand Down