Skip to content

Commit

Permalink
Merge pull request #2 from matifali/r2024a
Browse files Browse the repository at this point in the history
  • Loading branch information
matifali authored May 14, 2024
2 parents a640cbc + 01f2bfc commit cbbeb15
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
matifali/matlab
tags: |
type=raw,value=latest
type=raw,value=r2023b
type=raw,value=r2024a
labels: |
org.opencontainers.image.source=${{ github.event.repository.clone_url }}
org.opencontainers.image.revision=${{ github.sha }}
Expand All @@ -53,6 +53,14 @@ jobs:
- name: Setup Docker buildx
if: github.event_name != 'workflow_dispatch' && github.event_name != 'schedule'
uses: docker/setup-buildx-action@v3

- name: Free disk space
run: |
df -h
sudo rm -rf /usr/local/lib/android
sudo rm -rf /usr/local/share/chromium
sudo rm -rf /usr/local/share/powershell
df -h
- name: Build and push Docker image
if: github.event_name != 'workflow_dispatch' && github.event_name != 'schedule'
Expand Down
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# To specify which MATLAB release to install in the container, edit the value of the MATLAB_RELEASE argument.
# Use lower case to specify the release, for example: ARG MATLAB_RELEASE=r2021b
ARG MATLAB_RELEASE=r2023b
ARG MATLAB_RELEASE=r2024a

# When you start the build stage, this Dockerfile by default uses the Ubuntu-based matlab-deps image.
# To check the available matlab-deps images, see: https://hub.docker.com/r/mathworks/matlab-deps
Expand Down Expand Up @@ -155,5 +155,7 @@ RUN wget -q https://www.mathworks.com/mpm/glnxa64/mpm \
&& sudo rm -f mpm /tmp/mathworks_root.log \
&& sudo ln -s /opt/matlab/${MATLAB_RELEASE}/bin/matlab /usr/local/bin/matlab

RUN ls -l /usr/local/bin/matlab

ENTRYPOINT ["matlab"]
CMD [""]

0 comments on commit cbbeb15

Please sign in to comment.