[f5c182]: / codesys-control / Dockerfile  Maximize  Restore  History

Download this file

22 lines (16 with data), 554 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
#
# Install CODESYS on a plain Debian container
#
FROM debian:buster
RUN apt-get update && \
apt-get install -y wget unzip
#
# Add CODESYS package
#
# download package and extract it
RUN wget --output-document=codesys.package 'https://store.codesys.com/ftp_download/3S/LinuxSL/2302000005/3.5.14.30/CODESYS%20Control%20for%20Linux%20SL%203.5.14.30.package' && \
unzip -p codesys.package '*.deb' > codesys.deb
# install
RUN dpkg -i codesys.deb
WORKDIR /var/opt/codesys/
CMD [ "/opt/codesys/bin/codesyscontrol.bin", "/etc/CODESYSControl.cfg" ]