Skip to content

Commit cf7ceea

Browse files
committed
Update MPLABX to latest version v2.20
1 parent 982e1f9 commit cf7ceea

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

Dockerfile

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM debian:jessie
1+
FROM debian:bookworm
22

33
MAINTAINER Bruno Binet <[email protected]>
44

@@ -9,26 +9,35 @@ RUN dpkg --add-architecture i386 \
99
&& apt-get update -yq \
1010
&& apt-get install -yq --no-install-recommends curl libc6:i386 \
1111
libx11-6:i386 libxext6:i386 libstdc++6:i386 libexpat1:i386 \
12-
libxext6 libxrender1 libxtst6 libgtk2.0-0 libxslt1.1
12+
libxext6 libxrender1 libxtst6 libgtk2.0-0 libxslt1.1 procps \
13+
ca-certificates libusb-1.0-0
14+
15+
ENV XC16_VERSION 2.10
1316

1417
# Download and install XC16 compiler
15-
RUN curl -fSL -A "Mozilla/4.0" -o /tmp/xc16.run "http://www.microchip.com/mplabxc16linux" \
18+
RUN curl -fSL -A "Mozilla/4.0" -o /tmp/xc16.run "https://ww1.microchip.com/downloads/aemDocuments/documents/DEV/ProductDocuments/SoftwareTools/xc16-v${XC16_VERSION}-full-install-linux64-installer.run" \
1619
&& chmod a+x /tmp/xc16.run \
1720
&& /tmp/xc16.run --mode unattended --unattendedmodeui none \
1821
--netservername localhost --LicenseType FreeMode \
1922
&& rm /tmp/xc16.run
20-
ENV PATH /opt/microchip/xc16/v1.25/bin:$PATH
23+
ENV PATH /opt/microchip/xc16/v${XC16_VERSION}/bin:$PATH
2124

22-
ENV MPLABX_VERSION 3.20
25+
ENV MPLABX_VERSION 6.20
2326

2427
# Download and install MPLAB X IDE
2528
# Use url: http://www.microchip.com/mplabx-ide-linux-installer to get the latest version
26-
RUN curl -fSL -A "Mozilla/4.0" -o /tmp/mplabx-installer.tar "http://ww1.microchip.com/downloads/en/DeviceDoc/MPLABX-v${MPLABX_VERSION}-linux-installer.tar" \
29+
RUN curl -qgb "" -fLC - --retry 3 --retry-delay 3 -e "https://www.microchip.com/en-us/tools-resources/develop/mplab-x-ide" -o /tmp/mplabx-installer.tar "https://ww1.microchip.com/downloads/aemDocuments/documents/DEV/ProductDocuments/SoftwareTools/MPLABX-v${MPLABX_VERSION}-linux-installer.tar" \
2730
&& tar xf /tmp/mplabx-installer.tar && rm /tmp/mplabx-installer.tar \
2831
&& USER=root ./MPLABX-v${MPLABX_VERSION}-linux-installer.sh --nox11 \
2932
-- --unattendedmodeui none --mode unattended \
3033
&& rm ./MPLABX-v${MPLABX_VERSION}-linux-installer.sh
3134

35+
# Download and install Legacy PIC24 MCU & dsPIC DSC Peripheral Library
36+
RUN curl -fSL -A "Mozilla/4.0" -o /tmp/plib.run "https://ww1.microchip.com/downloads/en//softwarelibrary/pic24%20mcu%20dspic%20peripheral%20lib/peripheral-libraries-for-pic24-and-dspic-v2.00-linux-installer.run" \
37+
&& chmod a+x /tmp/plib.run \
38+
&& /tmp/plib.run --mode unattended --unattendedmodeui none \
39+
&& rm /tmp/plib.run
40+
3241
VOLUME ["/tmp/.X11-unix"]
3342

3443
CMD ["/usr/bin/mplab_ide"]

0 commit comments

Comments
 (0)