Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Sun, Xuehao <[email protected]>
  • Loading branch information
XuehaoSun committed Dec 26, 2024
1 parent d14420e commit ad27616
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .azure-pipelines/docker/Dockerfile.devel
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
ARG UBUNTU_VER=24.04
ARG UBUNTU_VER=22.04
FROM ubuntu:${UBUNTU_VER} as devel

# See http://bugs.python.org/issue19846
Expand Down
12 changes: 6 additions & 6 deletions docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ Please note that `INC_VER` must be set to a valid version published here:
https://pypi.org/project/neural-compressor/#history

```console
$ PYTHON=python3.8
$ INC_VER=1.12
$ PYTHON=python3.10
$ INC_BRANCH=3.2
$ IMAGE_NAME=neural-compressor
$ IMAGE_TAG=${INC_VER}
$ docker build --build-arg PYTHON=${PYTHON} --build-arg INC_VER=${INC_VER} -f Dockerfile -t ${IMAGE_NAME}:${IMAGE_TAG} .
Expand All @@ -19,8 +19,8 @@ https://docs.docker.com/engine/reference/commandline/tag/
then please modify the tag so that the tagging requirement is met. For example replace `/` with `-`.

```console
$ PYTHON=python3.8
$ INC_BRANCH=v1.12
$ PYTHON=python3.10
$ INC_BRANCH=3.2
$ IMAGE_NAME=neural-compressor
$ IMAGE_TAG=${INC_BRANCH}-devel
$ docker build --build-arg PYTHON=${PYTHON} --build-arg INC_BRANCH=${INC_BRANCH} -f Dockerfile.devel -t ${IMAGE_NAME}:${IMAGE_TAG} .
Expand All @@ -29,6 +29,6 @@ $ docker build --build-arg PYTHON=${PYTHON} --build-arg INC_BRANCH=${INC_BRANCH}
### Check the Containers built:
```console
$ docker images | grep -i neural-compressor
neural-compressor v1.12-devel 5c0dc1371312 5 minutes ago 2.76GB
neural-compressor 1.12 303de7f7c38d 36 minutes ago 1.61GB
neural-compressor v3.2-devel 5c0dc1371312 5 minutes ago 2.76GB
neural-compressor 3.2 303de7f7c38d 36 minutes ago 1.61GB
```

0 comments on commit ad27616

Please sign in to comment.