Skip to content

Commit

Permalink
feat(docker): upgrade to CentOS7
Browse files Browse the repository at this point in the history
- moving to CentOS7 due to CentOS6 being past it’s EOL (Nov 2020)
- using redhat-lsb-core v4.1
- using wget v1.14
- resolves #15
  • Loading branch information
haysclark committed Nov 5, 2021
1 parent d364116 commit add0eee
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM centos:centos6
FROM centos:centos7

#########################################
## BUILD-TIME VARIABLES ##
Expand All @@ -19,7 +19,7 @@ ENV PATH="$PATH:/opt/flexnetserver/"
#########################################
COPY /files /usr/local/bin

RUN yum install -y redhat-lsb-core-4.0 wget-1.12 && yum clean all
RUN yum install -y redhat-lsb-core-4.1 wget-1.14 && yum clean all

WORKDIR $TEMP_PATH
RUN wget --progress=bar:force -- $NLM_URL
Expand Down
17 changes: 13 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,19 @@ Image Variants

### haysclark/adlmflexnetserver:<version>

| Version | Description |
|------------|-----------------------------------------------------------------------|
| v1.0.0 | Uses NLM 11.13.1.2 (support pre-2020 products) |
| >= v1.0.1 | Uses NLM 11.16.2.0 (required for 2020 products / backwards compatible |
#### NLM

| Version | Description |
| --------- | --------------------------------------------------------------------- |
| >= v1.0.1 | Uses NLM 11.16.2.0 (required for 2020 products / backwards compatible |
| v1.0.0 | Uses NLM 11.13.1.2 (support pre-2020 products) |

#### CentOS

| Version | Description |
| --------- | ----------------------------------- |
| >= v1.1.0 | Uses CentOS7 (EOL on June 2024) |
| < v1.1.0 | Uses CentOS6 (EOL on November 2020) |

Building a custom Docker image
------------------------------
Expand Down

0 comments on commit add0eee

Please sign in to comment.